docs: 文档: 📚 添加目录结构

This commit is contained in:
bunny 2024-02-29 22:32:23 +08:00
parent 93264d94b7
commit 88f37e6f2f
3 changed files with 2683 additions and 1353 deletions

View File

@ -30,6 +30,26 @@
## 注意事项 ## 注意事项
### 目录结构
```
├─api
│ ├─v1
│ └─v2
├─assets
│ ├─css
│ │ └─common
│ └─images
│ └─tip
├─component
│ └─table
├─lib
├─router
├─store
├─utils
└─views
```
### 打包成 apk ### 打包成 apk
1. 如果需要打包成 apk要将路由改为 hash 路由。 1. 如果需要打包成 apk要将路由改为 hash 路由。

3956
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -16,8 +16,8 @@
"commit": "git status && git add -A && git-cz" "commit": "git status && git add -A && git-cz"
}, },
"dependencies": { "dependencies": {
"axios": "^1.6.2", "axios": "^1.6.7",
"core-js": "^3.8.3", "core-js": "^3.36.0",
"dayjs": "^1.11.10", "dayjs": "^1.11.10",
"echarts": "^5.5.0", "echarts": "^5.5.0",
"loadsh": "^0.0.4", "loadsh": "^0.0.4",
@ -28,42 +28,42 @@
"stylelint-config-standard-scss": "^13.0.0", "stylelint-config-standard-scss": "^13.0.0",
"uuid": "^9.0.1", "uuid": "^9.0.1",
"v-scale-screen": "^2.2.0", "v-scale-screen": "^2.2.0",
"vue": "^3.2.13", "vue": "^3.4.21",
"vue-cookies": "^1.8.3", "vue-cookies": "^1.8.3",
"vue-echarts": "^6.6.9", "vue-echarts": "^6.6.9",
"vue-lazyload": "^3.0.0", "vue-lazyload": "^3.0.0",
"vue-router": "^4.0.3", "vue-router": "^4.3.0",
"webpackbar": "^6.0.0" "webpackbar": "^6.0.1"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^18.4.3", "@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^18.4.3", "@commitlint/config-conventional": "^17.6.7",
"@typescript-eslint/eslint-plugin": "^5.4.0", "cz-git": "^1.7.0",
"@typescript-eslint/parser": "^5.4.0", "@typescript-eslint/eslint-plugin": "^7.1.0",
"@vue/cli-plugin-babel": "~5.0.0", "@typescript-eslint/parser": "^7.1.0",
"@vue/cli-plugin-eslint": "~5.0.0", "@vue/cli-plugin-babel": "~5.0.8",
"@vue/cli-plugin-router": "~5.0.0", "@vue/cli-plugin-eslint": "~5.0.8",
"@vue/cli-plugin-typescript": "~5.0.0", "@vue/cli-plugin-router": "~5.0.8",
"@vue/cli-service": "~5.0.0", "@vue/cli-plugin-typescript": "~5.0.8",
"@vue/eslint-config-typescript": "^9.1.0", "@vue/cli-service": "~5.0.8",
"@vue/eslint-config-typescript": "^12.0.0",
"commitizen": "^4.3.0", "commitizen": "^4.3.0",
"compression-webpack-plugin": "^11.0.0", "compression-webpack-plugin": "^11.1.0",
"cz-git": "^1.8.0", "eslint": "^8.57.0",
"eslint": "^7.32.0", "eslint-config-prettier": "^9.1.0",
"eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-prettier": "^4.0.0", "eslint-plugin-vue": "^9.22.0",
"eslint-plugin-vue": "^8.0.3", "husky": "^9.0.11",
"husky": "^8.0.3", "lint-staged": "^15.2.2",
"lint-staged": "^11.2.6", "postcss": "^8.4.35",
"postcss": "^8.4.32", "postcss-html": "^1.6.0",
"postcss-html": "^1.5.0", "prettier": "^3.2.5",
"prettier": "^2.4.1", "sass": "^1.71.1",
"sass": "^1.71.0", "sass-loader": "^14.1.1",
"sass-loader": "^12.0.0", "stylelint": "^16.2.1",
"stylelint": "^14.16.1",
"stylelint-config-html": "^1.1.0", "stylelint-config-html": "^1.1.0",
"stylelint-config-prettier": "^9.0.5", "stylelint-config-prettier": "^9.0.5",
"typescript": "~4.5.5" "typescript": "~5.3.3"
}, },
"gitHooks": { "gitHooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"