feat: vite-plugin-svg-icons引入

1. vite-plugin-svg-icons引入
2. vite.config.ts读取环境变量
3. vite配置跨域
This commit is contained in:
有来技术
2021-11-25 23:59:19 +08:00
parent 151edb3b07
commit 40aeda6bfc
98 changed files with 133 additions and 142 deletions

View File

@@ -9,7 +9,6 @@
"dependencies": {
"axios": "^0.24.0",
"element-plus": "^1.2.0-beta.3",
"fs": "0.0.1-security",
"path-to-regexp": "^6.2.0",
"screenfull": "^6.0.0",
"vue": "^3.2.16",
@@ -21,9 +20,9 @@
"@types/nprogress": "^0.2.0",
"@vitejs/plugin-vue": "^1.9.3",
"sass": "^1.43.4",
"svg-sprite-loader": "^6.0.11",
"typescript": "^4.4.3",
"vite": "^2.6.4",
"vite-plugin-svg-icons": "^1.0.5",
"vue-tsc": "^0.3.0"
}
}