Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 10:59:21 +08:00

chore: updates all dependencies

This commit is contained in:
pany 2022-07-15 10:48:29 +08:00
parent 04083aab2a
commit 15f4daff92
4 changed files with 388 additions and 302 deletions

View File

@ -1,6 +1,6 @@
{
"name": "v3-admin-vite",
"version": "3.1.10",
"version": "3.1.11",
"description": "一个免费开源的中后台管理系统基础解决方案,基于 Vue3、TypeScript、Element-Plus、Pinia 和 Vite 等主流技术.",
"author": {
"name": "pany",
@ -26,42 +26,43 @@
"@element-plus/icons-vue": "^2.0.6",
"axios": "^0.27.2",
"dayjs": "^1.11.3",
"element-plus": "^2.2.8",
"element-plus": "^2.2.9",
"js-cookie": "^3.0.1",
"lodash-es": "^4.17.21",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
"path-browserify": "^1.0.1",
"path-to-regexp": "^6.2.1",
"pinia": "^2.0.14",
"pinia": "^2.0.16",
"screenfull": "^6.0.2",
"vue": "^3.2.37",
"vue-router": "^4.0.16"
"vue-router": "^4.1.2"
},
"devDependencies": {
"@types/js-cookie": "^3.0.2",
"@types/lodash-es": "^4.17.6",
"@types/node": "^18.0.1",
"@types/node": "^18.0.4",
"@types/nprogress": "^0.2.0",
"@types/path-browserify": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.4",
"@typescript-eslint/parser": "^5.30.4",
"@vitejs/plugin-vue": "^2.3.3",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"@vitejs/plugin-vue": "^3.0.0",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^11.0.0",
"eslint": "^8.19.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.1.1",
"eslint-plugin-vue": "^9.2.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"sass": "^1.53.0",
"terser": "^5.14.2",
"typescript": "^4.7.4",
"unocss": "^0.43.0",
"vite": "^2.9.13",
"unocss": "^0.44.2",
"vite": "^3.0.0",
"vite-plugin-svg-icons": "^2.0.1",
"vue-eslint-parser": "^9.0.3",
"vue-tsc": "^0.38.2"
"vue-tsc": "^0.38.5"
},
"lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [

660
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -188,7 +188,7 @@ onBeforeMount(() => {
ref="tag"
:key="tag.path"
:class="state.isActive(tag) ? 'active' : ''"
:to="{ path: tag.path, query: tag.query, fullPath: tag.fullPath }"
:to="{ path: tag.path, query: tag.query }"
class="tags-view-item"
@click.middle="!state.isAffix(tag) ? state.closeSelectedTag(tag) : ''"
@contextmenu.prevent="state.openMenu(tag, $event)"

View File

@ -40,7 +40,6 @@ export default (): UserConfigExport => {
// }
},
build: {
brotliSize: false,
/** 消除打包大小超过 500kb 警告 */
chunkSizeWarningLimit: 2000,
/** Vite 2.6.x 以上需要配置 minify: "terser", terserOptions 才能生效 */
@ -52,7 +51,7 @@ export default (): UserConfigExport => {
drop_debugger: true,
pure_funcs: ["console.log"]
},
output: {
format: {
/** 删除注释 */
comments: false
}