提交 94a826d0 编写于 作者: V vben

perf: let svg-icon support ssr

上级 6d626d5f
......@@ -33,11 +33,11 @@
},
"dependencies": {
"@iconify/iconify": "^2.0.1",
"@logicflow/core": "^0.4.7",
"@logicflow/extension": "^0.4.7",
"@logicflow/core": "^0.4.8",
"@logicflow/extension": "^0.4.8",
"@vueuse/core": "^4.11.1",
"@zxcvbn-ts/core": "^0.3.0",
"ant-design-vue": "^2.1.6",
"ant-design-vue": "2.1.2",
"axios": "^0.21.1",
"codemirror": "^5.61.1",
"cropperjs": "^1.5.11",
......@@ -110,15 +110,15 @@
"stylelint-order": "^4.1.0",
"ts-node": "^10.0.0",
"typescript": "4.2.4",
"vite": "2.3.3",
"vite": "2.3.4",
"vite-plugin-compression": "^0.2.5",
"vite-plugin-html": "^2.0.7",
"vite-plugin-imagemin": "^0.3.2",
"vite-plugin-mock": "2.5.0",
"vite-plugin-mock": "^2.5.4",
"vite-plugin-purge-icons": "^0.7.0",
"vite-plugin-pwa": "^0.7.3",
"vite-plugin-style-import": "^0.10.0",
"vite-plugin-svg-icons": "^0.6.0",
"vite-plugin-style-import": "^0.10.1",
"vite-plugin-svg-icons": "^0.6.1",
"vite-plugin-theme": "^0.7.1",
"vite-plugin-windicss": "0.16.0",
"vue-eslint-parser": "^7.6.0",
......@@ -127,7 +127,7 @@
"resolutions": {
"//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it",
"bin-wrapper": "npm:bin-wrapper-china",
"rollup": "^2.49.0"
"rollup": "^2.50.0"
},
"repository": {
"type": "git",
......
......@@ -13,7 +13,7 @@ import { setupI18n } from '/@/locales/setupI18n';
import { registerGlobComp } from '/@/components/registerGlobComp';
// Register icon Sprite
import 'vite-plugin-svg-icons/register';
import 'virtual:svg-icons-register';
// Do not introduce` on-demand in local development?
// In the local development for on-demand introduction, the number of browser requests will increase by about 20%.
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册