unplugin-svg-component icon indicating copy to clipboard operation
unplugin-svg-component copied to clipboard

generate a vue/react component through svg files, supporting svg file HMR, Tree-shaking, SSR and TS hint.

Results 8 unplugin-svg-component issues
Sort by recently updated
recently updated
newest added

I built vue2 in webpack5 using typescript patterns, and when introducing ~virtual/svg-component in main.ts, Cannot find module '~virtual/svg-component' or its corresponding type declarations is displayed. You should add a type...

由于不缓存 index.html,导致加载 index.html 有点慢。

pr welcome

when I execute command `npm install unplugin-svg-component -D`,the npm show warn below. ```shell nodejs version >= 18 npm WARN deprecated [email protected]: See https: //github.com/lydell/source-map-url#deprecated npm WARN deprecated [email protected]: Please see...

platform: win framework: vite@latest, vue3 when add file,新增文件后立马报错。。。。希望watch file 机制能更新一下 ```shell node_modules\unplugin-vue-components\dist\chunk-44ONIEX7.js:50 if (_minimatch2.default.call(void 0, _utils.slash.call(void 0, filepath), glob)) ```

need more info

使用 vite + vue 项目时 ```json { "scripts": { "dev": "vite", "build": "vite build", "build:dev": "vite build --mode development" } } ``` `dev` 时是正常的, `build` 或者 `build:dev` 时是有问题的 大概有 32个...

Whenever I use this plugin in my Vue project. HMR stops working. using dynamic import strategy does fix it `domInsertionStrategy: isDev ? 'dynamic' : 'replaceHtml',`

我看之前的解决中已经处理,但我安装最新的还是有这个问题 昨天的我的号被封了,看不到回复 fix.zip用这个修复,好像还是没用,解压就是运行就是一个黑窗口,什么也没有 `npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility`