注册全局组件SVG,集成pinia,封装axios

This commit is contained in:
2024-08-08 19:08:15 +08:00
parent f0cc1b54c2
commit 74bd16dc51
31 changed files with 4753 additions and 122 deletions

View File

@@ -9,14 +9,15 @@
"build-staging": "vite build --mode staging",
"build": "vite build",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build --force",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.1",
"axios": "^1.7.3",
"element-plus": "^2.7.8",
"pinia": "^2.1.7",
"pinia": "^2.2.1",
"pinia-plugin-persistedstate": "^3.2.1",
"vue": "^3.4.29",
"vue-router": "^4.3.3"
},
@@ -36,6 +37,7 @@
"typescript": "~5.4.0",
"vite": "^5.3.1",
"vite-plugin-node-polyfills": "^0.22.0",
"vite-plugin-svg-icons": "^2.0.1",
"vue-tsc": "^2.0.21"
}
}