From 7ae2ec03a773c2223feabbd1e341e90f012f8b7e Mon Sep 17 00:00:00 2001 From: Electrolux <59329360+electroluxcode@users.noreply.github.com> Date: 星期三, 24 四月 2024 18:00:13 +0800 Subject: [PATCH] feat(BasicForm->Components): add beforeFetch & afterFetch to apicomp && perf the code (#3786) --- README.zh-CN.md | 75 ++++++++++++++++++++++++------------- 1 files changed, 48 insertions(+), 27 deletions(-) diff --git a/README.zh-CN.md b/README.zh-CN.md index 78379d8..3123f04 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -9,11 +9,11 @@ ## 绠�浠� -Vue Vben Admin 鏄竴涓厤璐瑰紑婧愮殑涓悗鍙版ā鐗堛�備娇鐢ㄤ簡鏈�鏂扮殑`vue3`,`vite2`,`TypeScript`绛変富娴佹妧鏈紑鍙戯紝寮�绠卞嵆鐢ㄧ殑涓悗鍙板墠绔В鍐虫柟妗堬紝涔熷彲鐢ㄤ簬瀛︿範鍙傝�冦�� +Vue Vben Admin 鏄竴涓厤璐瑰紑婧愮殑涓悗鍙版ā鐗堛�備娇鐢ㄤ簡鏈�鏂扮殑`vue3`,`vite5`,`TypeScript`绛変富娴佹妧鏈紑鍙戯紝寮�绠卞嵆鐢ㄧ殑涓悗鍙板墠绔В鍐虫柟妗堬紝涔熷彲鐢ㄤ簬瀛︿範鍙傝�冦�� ## 鐗规�� -- **鏈�鏂版妧鏈爤**锛氫娇鐢� Vue3/vite2 绛夊墠绔墠娌挎妧鏈紑鍙� +- **鏈�鏂版妧鏈爤**锛氫娇鐢� Vue3/vite5 绛夊墠绔墠娌挎妧鏈紑鍙� - **TypeScript**: 搴旂敤绋嬪簭绾� JavaScript 鐨勮瑷� - **涓婚**锛氬彲閰嶇疆鐨勪富棰� - **鍥介檯鍖�**锛氬唴缃畬鍠勭殑鍥介檯鍖栨柟妗� @@ -23,9 +23,9 @@ ## 棰勮 -- [vue-vben-admin](https://vvbin.cn/next/) - 瀹屾暣鐗堜腑鏂囩珯鐐� +- [vue-vben-admin](https://vben.vvbin.cn/) - 瀹屾暣鐗堜腑鏂囩珯鐐� - [vue-vben-admin-gh-pages](https://anncwb.github.io/vue-vben-admin/) - 瀹屾暣鐗� github 绔欑偣 -- [vben-admin-thin-next](https://vvbin.cn/thin/next/) - 绠�鍖栫増涓枃绔欑偣 +- [vben-admin-thin-next](https://vben.vvbin.cn/thin/next/) - 绠�鍖栫増涓枃绔欑偣 - [vben-admin-thin-gh-pages](https://anncwb.github.io/vben-admin-thin-next/) - 绠�鍖栫増 github 绔欑偣 娴嬭瘯璐﹀彿: vben/123456 @@ -44,7 +44,7 @@ ## 鏂囨。 -[鏂囨。鍦板潃](https://vvbin.cn/doc-next/) +[鏂囨。鍦板潃](https://doc.vvbin.cn/) ## 鍑嗗 @@ -54,7 +54,7 @@ - [TypeScript](https://www.typescriptlang.org/) - 鐔熸倝`TypeScript`鍩烘湰璇硶 - [Es6+](http://es6.ruanyifeng.com/) - 鐔熸倝 es6 鍩烘湰璇硶 - [Vue-Router-Next](https://next.router.vuejs.org/) - 鐔熸倝 vue-router 鍩烘湰浣跨敤 -- [Ant-Design-Vue](https://2x.antdv.com/docs/vue/introduce-cn/) - ui 鍩烘湰浣跨敤 +- [Ant-Design-Vue](https://antdv.com/docs/vue/introduce-cn/) - ui 鍩烘湰浣跨敤 - [Mock.js](https://github.com/nuysoft/Mock) - mockjs 鍩烘湰璇硶 ## 瀹夎浣跨敤 @@ -70,21 +70,39 @@ ```bash cd vue-vben-admin -yarn install +pnpm install ``` - 杩愯 ```bash -yarn serve +pnpm serve ``` - 鎵撳寘 ```bash -yarn build +pnpm build ``` + +- docker + +### dockerFile 浣嶄簬椤圭洰鏍圭洰褰曚笅 骞朵笖鏀寔宸紓鍖栭儴缃� + +#### 鏋勫缓闀滃儚 + +```bash +docker build -t vue-vben-admin . +``` + +#### 鍔ㄦ�佷娇鐢ㄧ幆澧冨彉閲忓疄鐜板鍣ㄥ樊寮傚寲閮ㄧ讲,閫氳繃涓嶅悓鐨� VG_BASE_URL 鐜鍙橀噺锛屾寚鍚戜笉鍚岀殑鍚庣鏈嶅姟鍦板潃锛屼笅闈緥瀛愪娇鐢� http://localhost:3333 浣滀负鍚庣鏈嶅姟鍦板潃锛屽苟涓斿皢瀹瑰櫒鏄犲皠鍒� 6666 绔彛 + +```bash +docker run --name vue-vben-admin -d -p 6666:80 -e VG_BASE_URL=http://localhost:3333 vue-vben-admin +``` + +鑰屽悗鍙互鎵撳紑 http://localhost:6666 璁块棶 ## 鏇存柊鏃ュ織 @@ -125,17 +143,6 @@ - `types` 绫诲瀷瀹氫箟鏂囦欢鏇存敼 - `wip` 寮�鍙戜腑 -## 鐩稿叧浠撳簱 - -濡傛灉杩欎簺鎻掍欢瀵逛綘鏈夊府鍔╋紝鍙互缁欎竴涓� star 鏀寔涓� - -- [vite-plugin-mock](https://github.com/anncwb/vite-plugin-mock) - 鐢ㄤ簬鏈湴鍙婂紑鍙戠幆澧冩暟鎹� mock -- [vite-plugin-html](https://github.com/anncwb/vite-plugin-html) - 鐢ㄤ簬 html 妯$増杞崲鍙婂帇缂� -- [vite-plugin-style-import](https://github.com/anncwb/vite-plugin-style-import) - 鐢ㄤ簬缁勪欢搴撴牱寮忔寜闇�寮曞叆 -- [vite-plugin-theme](https://github.com/anncwb/vite-plugin-theme) - 鐢ㄤ簬鎵撳寘鍘嬬缉鍥剧墖璧勬簮 -- [vite-plugin-imagemin](https://github.com/anncwb/vite-plugin-imagemin) - 鐢ㄤ簬鍦ㄧ嚎鍒囨崲涓婚鑹茬瓑棰滆壊鐩稿叧閰嶇疆 -- [vite-plugin-compression](https://github.com/anncwb/vite-plugin-compression) - 鐢ㄤ簬鎵撳寘杈撳叆.gz|.brotil 鏂囦欢 - ## 娴忚鍣ㄦ敮鎸� 鏈湴寮�鍙戞帹鑽愪娇鐢╜Chrome 80+` 娴忚鍣� @@ -146,17 +153,27 @@ | :-: | :-: | :-: | :-: | :-: | | not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions | +## 鐩稿叧浠撳簱 + +濡傛灉杩欎簺鎻掍欢瀵逛綘鏈夊府鍔╋紝鍙互缁欎竴涓� star 鏀寔涓� + +- [vite-plugin-mock](https://github.com/anncwb/vite-plugin-mock) - 鐢ㄤ簬鏈湴鍙婂紑鍙戠幆澧冩暟鎹� mock +- [vite-plugin-html](https://github.com/anncwb/vite-plugin-html) - 鐢ㄤ簬 html 妯$増杞崲鍙婂帇缂� +- [vite-plugin-compression](https://github.com/anncwb/vite-plugin-compression) - 鐢ㄤ簬鎵撳寘杈撳嚭.gz|.brotil 鏂囦欢 +- [vite-plugin-svg-icons](https://github.com/anncwb/vite-plugin-svg-icons) - 鐢ㄤ簬蹇�熺敓鎴� svg 闆ⅶ鍥� + +## 鍚庡彴鏁村悎绀轰緥 + +- [lamp-cloud](https://github.com/zuihou/lamp-cloud) - 鍩轰簬 SpringCloud Alibaba 鐨勫井鏈嶅姟涓悗鍙板揩閫熷紑鍙戝钩鍙� +- [matecloud](https://github.com/matevip/matecloud) - MateCloud 寰湇鍔¤剼鎵嬫灦锛屽熀浜� Spring Cloud 2020.0.3銆丼pringBoot 2.5.3 鐨勫叏寮�婧愬钩鍙� + ## 缁存姢鑰� -[@Vben](https://github.com/anncwb) +[@Vben](https://github.com/anncwb) [@Jinmao](https://github.com/jinmao88) -## 鎹愯禒 +## 鎰熻阿 -濡傛灉浣犺寰楄繖涓」鐩浣犳湁甯姪锛屼綘鍙互甯綔鑰呬拱涓�鏉挅鍟¤〃绀烘敮鎸�! - -![donate](https://anncwb.github.io/anncwb/images/sponsor.png) - -[Paypal Me](https://www.paypal.com/paypalme/cvvben) +<img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png" alt="JetBrains Logo (Main) logo." height='120'> ## 浜ゆ祦 @@ -164,6 +181,10 @@ - QQ 缇� `569291866` +## Star 鍘嗗彶 + +[![Star History Chart](https://api.star-history.com/svg?repos=vbenjs/vue-vben-admin&type=Date)](https://star-history.com/#vbenjs/vue-vben-admin&Date) + ## License [MIT 漏 Vben-2020](./LICENSE) -- Gitblit v1.8.0