Vue前端项目简单分享
立即下载
资源介绍:
Vue前端项目简单分享
# ðð Vue3 + Vite3 + Element-Plus 管çç³»ç» ðð
![banner](https://toscode.gitee.com/lin_zi_quan/vue-diverse-admin/raw/main/src/assets/md/30747d0cec5ee8bd5687c7cd8ba5c14.png)
### ä»ç» ð
- vue-diverse-adminï¼åºäº Vue3ãTypeScriptãVite3ãElement-Plus å¼æºçä¸å¥åå°ç®¡ç模æ¿ï¼é¡¹ç®å使ç¨JSå¼åï¼ä½å·²ç»é
ç½®TSï¼å¯ä»¥JSãTSæ··ç¨ãç®ååè½è¿å¨æç»æ´æ°ä¸...æ¨ä¹å¯ä»¥å é¤å
¶ä»ç´æ¥ä½¿ç¨Layoutå¸å±è¿è¡äºæ¬¡å¼å
### ä¸ãGit ä»åºå°å (æ¬¢è¿ Starâ)
- Giteeï¼https://gitee.com/lin_zi_quan/vue-diverse-admin
- GitHubï¼https://github.com/1164095457/vue-diverse-admin
### äºãð¨ð¨ð¨ 项ç®åè½
- ð ä½¿ç¨ Vue3 å¼å
- ð éç¨ Vite3 ä½ä¸ºé¡¹ç®å¼åãæå
å·¥å
·ï¼é
ç½®äº Gzip æå
ï¼TSX è¯æ³ï¼è·¨å代çï¼JSãTSæ··ç¨ï¼æå
é¢è§å·¥å
·â¦â¦ï¼
- ð ä½¿ç¨ Piniað ç¶æ管çå·¥å
·
- ð ä½¿ç¨ vue-router è¿è¡è·¯ç±æéæ¦æªãè·¯ç±æå è½½ãå¨æè·¯ç±
- ð æ¯æèªå®ä¹æéæ§å¶èåï¼æéæé®
- ð ä½¿ç¨ keep-alive 对个页é¢è¿è¡ç¼åï¼ç¼åè·¯ç±éå¯é
ç½®ã页é¢åæ¢å¸¦å¨ç»ï¼
- ð 常ç¨èªå®ä¹æ令å¼åï¼å¤å¶ãæ°´å°ãææ½ãèæµãé²æï¼
- ð 常ç¨ç»ä»¶å¼å æèªè¡å°è£
ï¼å
¨å±æ¶æ¯ãæ°åæ»å¨..ï¼ï¼ç¬¬ä¸æ¹çåºï¼å¯ææ¬ãå¼å¯¼é¡µãææ½..ï¼
- ð 常ç¨åå
Œᴌ
·ï¼æå°ãExcel导åºå¯¼å
¥ãå
³ç³»å¾ï¼
- ð å¤å±èååµå¥
- ð echarts大å±éé
模æ¿
- ð æ¯æ4ç§Layoutå¸å±ï¼èªå®ä¹ä¸»é¢é¢è²ï¼é»å¤æ¨¡å¼ï¼å¯é
ç½®é¢å
å±ãæ ç¾æ ã页èï¼éå±ï¼è·¯ç±æç´¢
- ð æ¯æ i18n å½é
åï¼ç®åä»
å¨i18nå¤è¯è¨é¡µé¢é
ç½®ï¼éè¦å¢å å¯èªè¡é
ç½®ï¼
### ä¸ãððð æµè§å°å
- [ð vue-diverse-admin æ¼ç¤ºå°åï¼å½å
å°åï¼](https://lin_zi_quan.gitee.io/vue3-diverse-admin/#/)
### åãå®è£
使ç¨æ¥éª¤ ð
- **å
éï¼**
```text
# GitHub
git clone https://github.com/1164095457/vue-diverse-admin.git
# Gitee
git clone https://gitee.com/lin_zi_quan/vue-diverse-admin.git
```
- **å®è£
ä¾èµï¼**
```text
# 建议使ç¨nodejs 16+
cnpm install
npm install
```
- **è¿è¡ï¼**
```text
npm run dev
npm run serve
```
- **æå
ï¼**
```text
# å¼åç¯å¢
npm run build:dev
# æµè¯ç¯å¢
npm run build:test
# ç产ç¯å¢
npm run build:pro
```
- **æ£æµï¼**
```text
# eslint æ£æµä»£ç
npm run lint:eslint
# prettier æ ¼å¼å代ç
npm run lint:prettier
# stylelint æ ¼å¼åæ ·å¼
lint:stylelint
```
### äºã项ç®æªå¾ ð·
![banner](https://gitee.com/lin_zi_quan/vue-diverse-admin/raw/main/src/assets/md/dc155c038e20db06cbb341bfc4ebfc0.png)
![banner](https://gitee.com/lin_zi_quan/vue-diverse-admin/raw/main/src/assets/md/4645021975f6b673cabc4ac71dc4bed.png)
### å
ãæ件èµæºç®å½ ð
```text
vue-diverse-admin
ââ .vscode # vscodeæ¨èé
ç½®
ââ public # éæèµæºæ件ï¼å¿½ç¥æå
ï¼
ââ src
â ââ api # API æ¥å£ç®¡ç
â ââ assets # éæèµæºæ件
â ââ components # å
¨å±ç»ä»¶
â ââ config # å
¨å±é
置项
â ââ directives # å
¨å±æ令æ件
â ââ hooks # å¸¸ç¨ Hooks
â ââ languages # è¯è¨å½é
å
â ââ layouts # æ¡æ¶å¸å±
â ââ mock # mockæ°æ®
â ââ routers # è·¯ç±ç®¡ç
â ââ stores # pinia ç¶æ管çå·¥å
·
â ââ styles # å
¨å±æ ·å¼
â ââ utils # å·¥å
ጼ
â ââ views # 项ç®ææ页é¢
â ââ App.vue # å
¥å£é¡µé¢
â ââ main.js # å
¥å£æ件
ââ .editorconfig # ç¼è¾å¨é
ç½®ï¼æ ¼å¼åï¼
ââ .env # vite 常ç¨é
ç½®
ââ .env.development # å¼åç¯å¢é
ç½®
ââ .env.production # ç产ç¯å¢é
ç½®
ââ .env.test # æµè¯ç¯å¢é
ç½®
ââ .eslintignore # å¿½ç¥ Eslint æ ¡éª
ââ .eslintrc.js # Eslint æ ¡éªé
ç½®
ââ .gitignore # git æ交忽ç¥
ââ .prettierignore # å¿½ç¥ prettier æ ¼å¼å
ââ .prettierrc.js # prettier é
ç½®
ââ .stylelintignore # å¿½ç¥ stylelint æ ¼å¼å
ââ .stylelintrc.js # stylelint æ ·å¼æ ¼å¼åé
ç½®
ââ CHANGELOG.md # 项ç®æ´æ°æ¥å¿
ââ commitlint.config.js # git æ交è§èé
ç½®
ââ index.html # å
¥å£ html
ââ lint-staged.config # lint-staged é
ç½®æ件
ââ package-lock.json # ä¾èµå
å
çæ¬é
ââ package.json # ä¾èµå
管ç
ââ postcss.config.js # postcss é
ç½®
ââ README.md # README ä»ç»
ââ tsconfig.json # typescript å
¨å±é
ç½®
ââ vite.config.ts # vite é
ç½®
```
### æå
- æ谢第ä¸æ¹å¼æºåºçæ¯æï¼é¡¹ç®å¾çèµæºæºäºç½ç»ï¼ä¾µæèç³»ä½è
å ï¼ä½¿ç¨è¿ç¨ä¸ç¢°å°é®é¢ä¹å¯ä»¥æ¾ä½è
ï¼ï¼
![banner](https://gitee.com/lin_zi_quan/vue-diverse-admin/raw/main/src/assets/md/1675495963149.png)
资源文件列表:
vue-diverse-admin-main.zip 大约有280个文件