From c9966b1f13476bfd0c83a29460c2878bd1d19205 Mon Sep 17 00:00:00 2001 From: sea <45450994+warmthsea@users.noreply.github.com> Date: 星期三, 10 四月 2024 16:10:13 +0800 Subject: [PATCH] chore: add Inspector(developer open vscode) (#3725) --- README.zh-CN.md | 55 +++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 35 insertions(+), 20 deletions(-) diff --git a/README.zh-CN.md b/README.zh-CN.md index 930fba5..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 璁块棶 ## 鏇存柊鏃ュ織 @@ -141,28 +159,21 @@ - [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 鏂囦欢 - [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寰湇鍔¤剼鎵嬫灦锛屽熀浜嶴pring Cloud 2020.0.3銆丼pringBoot 2.5.3鐨勫叏寮�婧愬钩鍙� +- [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) - -<a style="display: block;width: 100px;height: 50px;line-height: 50px; color: #fff;text-align: center; background: #408aed;border-radius: 4px;" href="https://www.paypal.com/paypalme/cvvben">Paypal Me</a> +<img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png" alt="JetBrains Logo (Main) logo." height='120'> ## 浜ゆ祦 @@ -170,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