feat: 调整为路由模式

This commit is contained in:
ChenZhaoYu
2023-02-13 12:38:44 +08:00
parent 39f718ef16
commit 951636869b
16 changed files with 316 additions and 23 deletions

View File

@@ -11,19 +11,20 @@
"vue"
],
"scripts": {
"bootstrap": "pnpm install && pnpm run common:prepare",
"dev": "vite",
"build": "run-p type-check build-only",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --noEmit",
"lint:fix": "eslint . --fix",
"bootstrap": "pnpm install && pnpm run common:prepare",
"common:cleanup": "rimraf node_modules && rimraf pnpm-lock.yaml",
"common:prepare": "husky install"
},
"dependencies": {
"naive-ui": "^2.34.3",
"vue": "^3.2.47"
"vue": "^3.2.47",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@antfu/eslint-config": "^0.35.2",