Commit ee5fb223b6f357634c9927dd6e1ae061f047d4cc

Authored by Vben
1 parent 381e3a96

chore: update readme.md

.editorconfig
@@ -6,8 +6,9 @@ end_of_line=lf @@ -6,8 +6,9 @@ end_of_line=lf
6 insert_final_newline=true 6 insert_final_newline=true
7 indent_style=space 7 indent_style=space
8 indent_size=2 8 indent_size=2
  9 +max_line_length = 100
9 10
10 -[*.yml] 11 +[*.{yml,yaml,json}]
11 indent_style = space 12 indent_style = space
12 indent_size = 2 13 indent_size = 2
13 14
.github/ISSUE_TEMPLATE/1-bug.md
1 --- 1 ---
2 name: 🐛 Bug report 2 name: 🐛 Bug report
3 about: Create a report to help us improve 3 about: Create a report to help us improve
4 -labels: 🔍 status/open, 🐛 type/bug 4 +title: ''
  5 +labels: 'bug: pending triage'
  6 +assignees: ''
5 --- 7 ---
6 8
7 <!-- 9 <!--
  10 +抱歉,您遇到了一个错误。感谢您抽出宝贵的时间进行举报!
  11 +
  12 +请尽可能填写以下模板。
  13 +
8 Ouch, sorry you’ve run into a bug. Thank for taking the time to report it! 14 Ouch, sorry you’ve run into a bug. Thank for taking the time to report it!
9 15
10 Please fill in as much of the template below as you’re able. 16 Please fill in as much of the template below as you’re able.
11 17
12 P.S. have you seen our support and contributing docs? 18 P.S. have you seen our support and contributing docs?
13 -https://github.com/get-alex/.github/blob/master/support.md  
14 -https://github.com/get-alex/.github/blob/master/contributing.md  
15 --> 19 -->
16 20
17 -### Subject of the issue  
18 -  
19 -Describe your issue here.  
20 -  
21 -### Your environment  
22 -  
23 -- **OS**: <!-- Name and version of operating system -->  
24 -- **Packages**: <!-- Names and version of required packages -->  
25 -- **Env**: <!-- Version of node, npm, yarn, or names and versions of browser --> 21 +**⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.**
26 22
27 -### Steps to reproduce 23 +- [ ] Read [the docs](https://anncwb.github.io/vue-vben-admin-doc/).
  24 +- [ ] Make sure the code is up to date. (Some bugs have been fixed in the latest code)
  25 +- [ ] This is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/anncwb/vue-vben-admin/discussions) or join our [Discord](https://discord.gg/8GuAdwDhj6) Chat Server.
28 26
29 -Tell us how to reproduce this issue. Please provide a working and simplified example. 27 +### Describe the bug
30 28
31 -🎉 BONUS POINTS for creating a [minimal reproduction](https://stackoverflow.com/help/mcve) and uploading it to GitHub. This will get you the fastest support. 🎉 29 +A clear and concise description of what the bug is..
32 30
33 -### Expected behaviour 31 +### Reproduction
34 32
35 -What should happen? 33 +Please describe the steps of the problem in detail to ensure that we can restore the correct problem
36 34
37 -### Actual behaviour 35 +## System Info
38 36
39 -What happens instead? 37 +- Operating System:
  38 +- Node version:
  39 +- Package manager (npm/yarn/pnpm) and version:
.github/ISSUE_TEMPLATE/2-feature.md
1 --- 1 ---
2 name: 🚀 Feature request 2 name: 🚀 Feature request
3 about: Suggest an idea for this project 3 about: Suggest an idea for this project
4 -labels: 🔍 status/open, 🦋 type/enhancement 4 +title: ''
  5 +labels: ''
  6 +assignees: ''
5 --- 7 ---
6 8
7 <!-- 9 <!--
8 -Thank you for suggesting an idea to make this project better! 10 +感谢您提出使这个项目更好的想法!
  11 +请尽可能填写以下模板。
9 12
  13 +Thank you for suggesting an idea to make this project better!
10 Please fill in as much of the template below as you’re able. 14 Please fill in as much of the template below as you’re able.
11 15
12 --> 16 -->
.github/ISSUE_TEMPLATE/3-help.md deleted 100644 → 0
1 ----  
2 -name: Question 🤔  
3 -about: Usage question or discussion about alex.  
4 -labels: 🔍 status/open, 🙋 type/question  
5 ----  
6 -  
7 -<!--  
8 -To make it easier for us to help you, please include as much useful information  
9 -as possible.  
10 -  
11 -Before opening a new issue, please search existing issues:  
12 -https://github.com/search?q=org%3Aget-alex&type=Issues  
13 -  
14 -  
15 --->  
.github/ISSUE_TEMPLATE/config.yml 0 → 100644
  1 +blank_issues_enabled: false
  2 +contact_links:
  3 + - name: Discord Chat
  4 + url: https://discord.gg/8GuAdwDhj6
  5 + about: Ask questions and discuss with other Vben users in real time.
  6 + - name: Questions & Discussions
  7 + url: https://github.com/anncwb/vue-vben-admin/discussions
  8 + about: Use GitHub discussions for message-board style questions and discussions.
.github/res/imgs/logo.png deleted 100644 → 0

1.94 KB

.github/res/imgs/preview1.png deleted 100644 → 0

389 KB

.github/res/imgs/preview2.png deleted 100644 → 0

548 KB

.github/res/imgs/preview3.png deleted 100644 → 0

512 KB

.github/res/imgs/qq.jpeg deleted 100644 → 0

102 KB

.github/workflows/deploy.yml
@@ -6,53 +6,53 @@ on: @@ -6,53 +6,53 @@ on:
6 - main 6 - main
7 7
8 jobs: 8 jobs:
9 - push-to-ftp:  
10 - if: "contains(github.event.head_commit.message, '[deploy]')"  
11 - runs-on: ubuntu-latest  
12 - steps:  
13 - - name: Checkout  
14 - uses: actions/checkout@v2  
15 -  
16 - - name: Sed Config Base  
17 - shell: bash  
18 - run: |  
19 - sed -i 's#VITE_PUBLIC_PATH\s*=.*#VITE_PUBLIC_PATH = /next/#g' ./.env.production  
20 - sed -i "s#VITE_BUILD_COMPRESS\s*=.*#VITE_BUILD_COMPRESS = 'gzip'#g" ./.env.production  
21 - cat ./.env.production  
22 -  
23 - - name: use Node.js 14  
24 - uses: actions/setup-node@v2.1.2  
25 - with:  
26 - node-version: '14.x'  
27 -  
28 - - name: Get yarn cache  
29 - id: yarn-cache  
30 - run: echo "::set-output name=dir::$(yarn cache dir)"  
31 -  
32 - - name: Cache dependencies  
33 - uses: actions/cache@v2  
34 - with:  
35 - path: ${{ steps.yarn-cache.outputs.dir }}  
36 - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}  
37 - restore-keys: |  
38 - ${{ runner.os }}-yarn-  
39 -  
40 - - name: Build  
41 - run: |  
42 - yarn install  
43 - yarn run build  
44 -  
45 - - name: Deploy  
46 - uses: SamKirkland/FTP-Deploy-Action@2.0.0  
47 - env:  
48 - FTP_SERVER: ${{ secrets.FTP_SERVER }}  
49 - FTP_USERNAME: ${{ secrets.FTP_USERNAME }}  
50 - FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}  
51 - METHOD: sftp  
52 - PORT: ${{ secrets.FTP_PORT }}  
53 - LOCAL_DIR: dist  
54 - REMOTE_DIR: /srv/www/vben-admin  
55 - ARGS: --delete --verbose --parallel=80 9 + # push-to-ftp:
  10 + # if: "contains(github.event.head_commit.message, '[deploy]')"
  11 + # runs-on: ubuntu-latest
  12 + # steps:
  13 + # - name: Checkout
  14 + # uses: actions/checkout@v2
  15 +
  16 + # - name: Sed Config Base
  17 + # shell: bash
  18 + # run: |
  19 + # sed -i 's#VITE_PUBLIC_PATH\s*=.*#VITE_PUBLIC_PATH = /next/#g' ./.env.production
  20 + # sed -i "s#VITE_BUILD_COMPRESS\s*=.*#VITE_BUILD_COMPRESS = 'gzip'#g" ./.env.production
  21 + # cat ./.env.production
  22 +
  23 + # - name: use Node.js 14
  24 + # uses: actions/setup-node@v2.1.2
  25 + # with:
  26 + # node-version: '14.x'
  27 +
  28 + # - name: Get yarn cache
  29 + # id: yarn-cache
  30 + # run: echo "::set-output name=dir::$(yarn cache dir)"
  31 +
  32 + # - name: Cache dependencies
  33 + # uses: actions/cache@v2
  34 + # with:
  35 + # path: ${{ steps.yarn-cache.outputs.dir }}
  36 + # key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
  37 + # restore-keys: |
  38 + # ${{ runner.os }}-yarn-
  39 +
  40 + # - name: Build
  41 + # run: |
  42 + # yarn install
  43 + # yarn run build
  44 +
  45 + # - name: Deploy
  46 + # uses: SamKirkland/FTP-Deploy-Action@2.0.0
  47 + # env:
  48 + # FTP_SERVER: ${{ secrets.FTP_SERVER }}
  49 + # FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
  50 + # FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
  51 + # METHOD: sftp
  52 + # PORT: ${{ secrets.FTP_PORT }}
  53 + # LOCAL_DIR: dist
  54 + # REMOTE_DIR: /srv/www/vben-admin
  55 + # ARGS: --delete --verbose --parallel=80
56 56
57 push-to-gh-pages: 57 push-to-gh-pages:
58 if: "contains(github.event.head_commit.message, '[deploy]')" 58 if: "contains(github.event.head_commit.message, '[deploy]')"
.gitpod.yml 0 → 100644
  1 +ports:
  2 + - port: 3344
  3 + onOpen: open-preview
  4 +tasks:
  5 + - init: yarn
  6 + command: yarn dev
CHANGELOG.en_US.md
1 -## 2.0.1 (2021-03-04) 1 +## 2.0.2 (2021-03-04)
2 2
3 ### ✨ Refactor 3 ### ✨ Refactor
4 4
CHANGELOG.zh_CN.md
1 -## 2.0.1 (2021-03-04) 1 +## 2.0.2 (2021-03-04)
2 2
3 ### ✨ Refactor 3 ### ✨ Refactor
4 4
README.md
1 -<p align="center">  
2 - <a href="https://github.com/anncwb/vue-vben-admin" target="_blank">  
3 - <img alt="VbenAdmin Logo" width="200" src="/anncwb/vue-vben-admin/raw/main/.github/res/imgs/logo.png">  
4 - </a>  
5 -</p>  
6 -<h2 align="center">VUE VBEN ADMIN2.0</h2>  
7 -  
8 -[Chinese](./README.zh-CN.md) | **English**  
9 -  
10 -[CHANGELOG](CHANGELOG.en_US.md)  
11 -  
12 -- [Introduction](#introduction)  
13 -- [GitHub](#github)  
14 - - [Thin](#thin)  
15 -- [Preview](#preview)  
16 -- [Documentation](#documentation)  
17 -- [Preinstallation](#preinstallation)  
18 - - [Environmental requirements](#environmental-requirements)  
19 - - [UI framework](#ui-framework)  
20 - - [Icon](#icon)  
21 - - [Plugin](#plugin)  
22 - - [Suggested development environment](#suggested-development-environment)  
23 -- [Install](#install)  
24 -- [Usage](#usage)  
25 - - [Development environment](#development-environment)  
26 - - [Build](#build)  
27 - - [Format](#format)  
28 - - [Other](#other)  
29 -- [Git submit specifications](#git-submit-specifications)  
30 -- [Code contribution](#code-contribution)  
31 -- [Finished features](#finished-features)  
32 -- [Developing features](#developing-features)  
33 -- [Browser support](#browser-support)  
34 -- [Plugins](#plugins) 1 +<div align="center"> <a href="https://github.com/anncwb/vue-vben-admin"> <img alt="VbenAdmin Logo" width="200" height="200" src="https://anncwb.github.io/anncwb/images/logo.png"> </a> <br> <br>
35 2
36 -## Introduction 3 +[![license](https://img.shields.io/github/license/anncwb/vue-vben-admin.svg)](LICENSE)
37 4
38 -The project is based on the vue3 style background management system implemented by ʻant-design-vue`, `typescript`,`vue3.0`,`vite`,`tsx`, 5 +<h1>Vue vben admin</h1>
  6 +</div>
39 7
40 -## GitHub 8 +**English** | [中文](./README.zh-CN.md)
41 9
42 -[vue-vben-admin2.0](https://github.com/anncwb/vue-vben-admin) - `main` branch 10 +## Introduction
43 11
44 -### Thin 12 +Vue Vben Admin is a free and open source middle and back-end template. Using the latest `vue3`, `vite2`, `TypeScript` and other mainstream technology development, the out-of-the-box middle and back-end front-end solutions can also be used for learning reference.
45 13
46 -[vue-vben-admin-thin-next](https://github.com/anncwb/vben-admin-thin-next) 14 +## Feature
47 15
48 -## Preview 16 +- **State of The Art Development**:Use front-end front-end technology development such as Vue3/vite2
  17 +- **TypeScript**: Application-level JavaScript language
  18 +- **Theming**: Configurable themes
  19 +- **International**:Built-in complete internationalization program
  20 +- **Mock Server** Built-in mock data scheme
  21 +- **Authority** Built-in complete dynamic routing permission generation scheme.
  22 +- **Component** Multiple commonly used components are encapsulated twice
49 23
50 -- [2.0 preview](https://vvbin.cn/next/) 24 +## 预览
51 25
52 -- [2.0 Thin Preview](https://vvbin.cn/thin/next/) 26 +- [vue-vben-admin](https://vvbin.cn/next/) - Full version Chinese site
  27 +- [vue-vben-admin-gh-pages](https://anncwb.github.io/vue-vben-admin/) - Full version of the github site
  28 +- [vben-admin-thin-next](https://vvbin.cn/thin/next/) - Simplified Chinese site
  29 +- [vben-admin-thin-gh-pages](https://anncwb.github.io/vben-admin-thin-next/) -Simplified github site
53 30
54 -Account for test: vben/123456 31 +Test account: vben/123456
55 32
56 <p align="center"> 33 <p align="center">
57 - <img alt="VbenAdmin Logo" width="100%" src="./.github/res/imgs/preview1.png">  
58 - <img alt="VbenAdmin Logo" width="100%" src="./.github/res/imgs/preview2.png">  
59 - <img alt="VbenAdmin Logo" width="100%" src="./.github/res/imgs/preview3.png"> 34 + <img alt="VbenAdmin Logo" width="100%" src="https://anncwb.github.io/anncwb/images/preview1.png">
  35 + <img alt="VbenAdmin Logo" width="100%" src="https://anncwb.github.io/anncwb/images/preview2.png">
  36 + <img alt="VbenAdmin Logo" width="100%" src="https://anncwb.github.io/anncwb/images/preview3.png">
60 </p> 37 </p>
61 38
62 -## Documentation  
63 -  
64 -The documentation for 2.0 hasn't started yet, it will be provided later.  
65 -  
66 -## Preinstallation  
67 -  
68 -### Environmental requirements  
69 -  
70 -- `Node.js`: - Version > `12.0.0` .  
71 -- `yarn` : - Package management tool.  
72 -  
73 -### UI framework 39 +### Use Gitpod
74 40
75 -- [Tailwind CSS](https://tailwindcss.com/) - 2.0.0-beta.5 has deleted.  
76 -- [Ant Design Vue 2.0](https://2x.antdv.com/docs/vue/introduce-cn/) 41 +Open the project in Gitpod (free online dev environment for GitHub) and start coding immediately.
77 42
78 -### Icon 43 +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/anncwb/vue-vben-admin)
79 44
80 -- [Ant Design Vue Icon Component](https://2x.antdv.com/components/icon-cn/) - Icon which is imported on demand.  
81 -- [Iconify](https://iconify.design) - Icon can be used [Icônes](https://icones.netlify.app/)  
82 -- [PurgeIcons](https://github.com/antfu/purge-icons) - Icon which is used by build. 45 +## Documentation
83 46
84 -### Plugin 47 +[Document](https://vvbin.cn/doc-next/)
85 48
86 -- [Vue Router Next](https://github.com/vuejs/vue-router-next)  
87 -- [Vuex Next](https://github.com/vuejs/vuex)  
88 -- [vuex-module-decorators](https://github.com/championswimmer/vuex-module-decorators) - vuex modular  
89 -- [vite-plugin-mock](https://github.com/anncwb/vite-plugin-mock) - Mock plugin base on vite  
90 -- [vue-i18n](https://github.com/intlify/vue-i18n-next) - Internationalization  
91 -- [lodash-es](https://github.com/lodash/lodash) - JavaScript utility library  
92 -- [axios](https://github.com/axios/axios) - Http data interaction  
93 -- [TypeScript](https://www.typescriptlang.org/) 49 +## Preparation
94 50
95 -### Suggested development environment 51 +- [node](http://nodejs.org/) and [git](https://git-scm.com/) - Project development environment
  52 +- [Vite](https://vitejs.dev/) - Familiar with vite features
  53 +- [Vue3](https://v3.vuejs.org/) - Familiar with Vue basic syntax
  54 +- [TypeScript](https://www.typescriptlang.org/) - Familiar with the basic syntax of `TypeScript`
  55 +- [Es6+](http://es6.ruanyifeng.com/) - Familiar with es6 basic syntax
  56 +- [Vue-Router-Next](https://next.router.vuejs.org/) - Familiar with the basic use of vue-router
  57 +- [Ant-Design-Vue](https://2x.antdv.com/docs/vue/introduce-cn/) - ui basic use
  58 +- [Mock.js](https://github.com/nuysoft/Mock) - mockjs basic syntax
96 59
97 -- `Git`: - Tool of version management  
98 -- `Visual Studio Code` - (VSCode): Latest version  
99 - - [VS Code Extensions](./.vscode/extensions.json)  
100 - - [Iconify IntelliSense](https://marketplace.visualstudio.com/items?itemName=antfu.iconify)  
101 - - [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) - Tailwind css style association  
102 - - [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur) - Essential for vue development  
103 - - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) - Checking script code  
104 - - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) - Code formatting  
105 - - [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint) - Css formatting 60 +## Install and use
106 61
107 -## Install 62 +- Get the project code
108 63
109 ```bash 64 ```bash
110 -# Make git case sensitive to file names  
111 -git config core.ignorecase false 65 +git clone https://github.com/anncwb/vue-vben-admin.git
  66 +```
112 67
113 -# Pull code of the project  
114 -git clone https://github.com/anncwb/vue-vben-admin.git vue-vben-admin-2.0 68 +- Installation dependencies
115 69
116 -cd vue-vben-admin-2.0 70 +```bash
  71 +cd vue-vben-admin
117 72
118 -# If you use other package management tool, you can install it by yourself  
119 -# if you hasn't install yarn, please run: npm install -g yarn  
120 yarn install 73 yarn install
121 74
122 ``` 75 ```
123 76
124 -## Usage  
125 -  
126 -### Development environment 77 +- run
127 78
128 ```bash 79 ```bash
129 yarn serve 80 yarn serve
130 ``` 81 ```
131 82
132 -### Build 83 +- build
133 84
134 ```bash 85 ```bash
135 -  
136 -yarn build # build  
137 -  
138 -yarn build:no-cache # build, cache will be removed before build  
139 -  
140 -yarn report # Generate build package report preview 86 +yarn build
141 ``` 87 ```
142 88
143 -### Format  
144 -  
145 -```bash  
146 -yarn lint:stylelint # css formatting 89 +## Change Log
147 90
148 -yarn lint:prettier # js/ts code formatting  
149 -``` 91 +[CHANGELOG](./CHANGELOG.zh_CN.md)
150 92
151 -### Other 93 +## Project
152 94
153 -```bash  
154 -yarn reinstall # Remove dependencies and reinstall, supported window 95 +- [vue-vben-admin](https://github.com/anncwb/vue-vben-admin) - full version
  96 +- [vue-vben-admin-thin-next](https://github.com/anncwb/vben-admin-thin-next) - Simplified version
155 97
156 -yarn preview # Build and preview in local 98 +## How to contribute
157 99
158 -yarn log # Generate CHANGELOG 100 +You are very welcome to join![Raise an issue](https://github.com/anncwb/vue-vben-admin/issues/new/choose) Or submit a Pull Request。
159 101
160 -yarn clean:cache # Delete cache 102 +**Pull Request:**
161 103
162 -yarn clean:lib # Delete node_modules, supported window  
163 -``` 104 +1. Fork code!
  105 +2. Create your own branch: `git checkout -b feat/xxxx`
  106 +3. Submit your changes: `git commit -am 'feat(function): add xxxxx'`
  107 +4. Push your branch: `git push origin feat/xxxx`
  108 +5. submit`pull request`
164 109
165 -## Git submit specifications 110 +## Git Contribution submission specification
166 111
167 -- Refer to [vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) specifications ([Angular](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular)) 112 +- reference [vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) specification ([Angular](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular))
168 113
169 - `feat` Add new features 114 - `feat` Add new features
170 - - `fix` Fix problem/BUG  
171 - - `style` Code style related and doesn't affect the running result 115 + - `fix` Fix the problem/BUG
  116 + - `style` The code style is related and does not affect the running result
172 - `perf` Optimization/performance improvement 117 - `perf` Optimization/performance improvement
173 - `refactor` Refactor 118 - `refactor` Refactor
174 - `revert` Undo edit 119 - `revert` Undo edit
175 - `test` Test related 120 - `test` Test related
176 - `docs` Documentation/notes 121 - `docs` Documentation/notes
177 - - `chore` Dependent update/scaffolding configuration modification etc 122 + - `chore` Dependency update/scaffolding configuration modification etc.
178 - `workflow` Workflow improvements 123 - `workflow` Workflow improvements
179 - `ci` Continuous integration 124 - `ci` Continuous integration
180 - - `types` Update file of type definition  
181 - - `wip` Developing 125 + - `types` Type definition file changes
  126 + - `wip` In development
182 127
183 -## Code contribution 128 +## Related warehouse
184 129
185 -1. Fork code!  
186 -2. Create your own branch: `git checkout -b feat/xxxx`  
187 -3. Submit your changes: `git commit -am 'feat(function): add xxxxx'`  
188 -4. Push your branch: `git push origin feat/xxxx`  
189 -5. submit`pull request` 130 +If these plugins are helpful to you, you can give a star support
190 131
191 -## Finished features  
192 -  
193 -- [x] Project construction (based on vite))  
194 -- [x] Login and exit  
195 -- [x] Menu (can search, drag and drop and menu layout)  
196 -- [x] Multiple tabs/breadcrumbs  
197 -- [x] Permission management base on role  
198 -- [x] Permission management base on background  
199 -- [x] The separation of routing and menu settings  
200 -- [x] Collapsible sidebar  
201 -- [x] Draggable sidebar  
202 -- [x] Multi-tab mode/global control  
203 -- [x] Menu search  
204 -- [x] Page loading  
205 -- [x] Scroll bar component  
206 -- [x] Pop-up window expansion (dragable, full screen, adaptive height)  
207 -- [x] Mock data  
208 -- [x] hook Package  
209 -- [x] Form component  
210 -- [x] Right-click menu  
211 -- [x] Watermark plugin  
212 -- [x] Animation component  
213 -- [x] QR code plugin  
214 -- [x] Internationalization plugin  
215 -- [x] Details component  
216 -- [x] Validation component  
217 -- [x] Tree component  
218 -- [x] Picture preview component  
219 -- [x] Table component  
220 -- [x] Chart library  
221 -- [x] Digital animation  
222 -- [x] First screen loading waiting animation  
223 -- [x] Extract the production environment profile  
224 -- [x] Build Gzip  
225 -- [x] System performance optimization  
226 -- [x] Data import and export  
227 -- [x] Global error handling  
228 -- [x] Rich text component  
229 -- [x] Upload component  
230 -  
231 -## Developing features  
232 -  
233 -- [ ] Theme configuration  
234 -- [ ] Dark theme  
235 -- [ ] Build CDN  
236 -  
237 -If you have more components/functions/suggestions/bugs/, welcome to submit pr or issue. 132 +- [vite-plugin-mock](https://github.com/anncwb/vite-plugin-mock) - Used for local and development environment data mock
  133 +- [vite-plugin-html](https://github.com/anncwb/vite-plugin-html) - Used for html template conversion and compression
  134 +- [vite-plugin-style-import](https://github.com/anncwb/vite-plugin-style-import) - Used for component library style introduction on demand
  135 +- [vite-plugin-theme](https://github.com/anncwb/vite-plugin-theme) - Used to pack compressed image resources
  136 +- [vite-plugin-imagemin](https://github.com/anncwb/vite-plugin-imagemin) - Used for online switching of theme colors and other color-related configurations
  137 +- [vite-plugin-compression](https://github.com/anncwb/vite-plugin-compression) - Used to pack input .gz|.brotil files
238 138
239 ## Browser support 139 ## Browser support
240 140
241 -It is recommended to use the `Chrome` browser for local development. Development in the Firefox browser is relatively slow. 141 +The `Chrome 80+` browser is recommended for local development
242 142
243 -Support modern browsers, Not currently supported ie11,Follow-up consideration support ie11 143 +Support modern browsers, not IE
244 144
245 | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | 145 | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari |
246 | :-: | :-: | :-: | :-: | :-: | 146 | :-: | :-: | :-: | :-: | :-: |
247 | not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions | 147 | not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
248 148
249 -More browsers can view [Can I Use Es Module](https://caniuse.com/?search=ES%20Module) 149 +## Maintainer
  150 +
  151 +[@Vben](https://github.com/anncwb)。
  152 +
  153 +## Donate
  154 +
  155 +If you think this project is helpful to you, you can help the author buy a cup of coffee to show your support!
  156 +
  157 +![donate](https://anncwb.github.io/anncwb/images/sponsor.png)
  158 +
  159 +[Paypal Me](https://www.paypal.com/paypalme/cvvben)
  160 +
  161 +## Discord
250 162
251 -## Plugins 163 +- [github discussions](https://github.com/anncwb/vue-vben-admin/discussions)
  164 +- [Discord](https://discord.gg/8GuAdwDhj6)
252 165
253 -If these plugins are helpful to you, you can give a star 166 +## License
254 167
255 -- [vite-plugin-mock](https://github.com/anncwb/vite-plugin-mock)  
256 -- [vite-plugin-html](https://github.com/anncwb/vite-plugin-html)  
257 -- [vite-plugin-style-import](https://github.com/anncwb/vite-plugin-style-import)  
258 -- [vite-plugin-theme](https://github.com/anncwb/vite-plugin-theme)  
259 -- [vite-plugin-imagemin](https://github.com/anncwb/vite-plugin-imagemin)  
260 -- [vite-plugin-compression](https://github.com/anncwb/vite-plugin-compression) 168 +[MIT © Vben-2020](./LICENSE)
README.zh-CN.md
1 -<p align="center">  
2 - <a href="https://github.com/anncwb/vue-vben-admin" target="_blank">  
3 - <img alt="VbenAdmin Logo" width="200" src="./.github/res/imgs/logo.png">  
4 - </a>  
5 -</p>  
6 -<h2 align="center">VUE VBEN ADMIN2.0</h2>  
7 -  
8 -**中文** | [English](./README.md)  
9 -  
10 -[更新日志](CHANGELOG.zh_CN.md)  
11 -  
12 -- [介绍](#介绍)  
13 -- [gitHub 地址](#github-地址)  
14 - - [精简版地址](#精简版地址)  
15 -- [预览地址](#预览地址)  
16 -- [文档](#文档)  
17 -- [预安装](#预安装)  
18 - - [环境要求](#环境要求)  
19 - - [UI 框架](#ui-框架)  
20 - - [图标](#图标)  
21 - - [插件](#插件)  
22 - - [建议开发环境](#建议开发环境)  
23 -- [安装](#安装)  
24 -- [使用](#使用)  
25 - - [开发环境](#开发环境)  
26 - - [打包](#打包)  
27 - - [格式化](#格式化)  
28 - - [其他](#其他)  
29 -- [Git 提交规范](#git-提交规范)  
30 -- [代码贡献](#代码贡献)  
31 -- [已完成功能](#已完成功能)  
32 -- [正在开发的功能](#正在开发的功能)  
33 -- [浏览器支持](#浏览器支持)  
34 -- [插件](#插件-1)  
35 -- [加入我们](#加入我们) 1 +<div align="center"> <a href="https://github.com/anncwb/vue-vben-admin"> <img alt="VbenAdmin Logo" width="200" height="200" src="https://anncwb.github.io/anncwb/images/logo.png"> </a> <br> <br>
36 2
37 -## 介绍 3 +[![license](https://img.shields.io/github/license/anncwb/vue-vben-admin.svg)](LICENSE)
38 4
39 -项目基于`ant-design-vue`,`typescript`,`vue3.0`,`vite`,`tsx`实现的 vue3 风格的后台管理系统, 5 +<h1>Vue vben admin</h1>
  6 +</div>
40 7
41 -## gitHub 地址 8 +**中文** | [English](./README.md)
42 9
43 -[vue-vben-admin2.0](https://github.com/anncwb/vue-vben-admin) - `main` 分支 10 +## 简介
44 11
45 -### 精简版地址 12 +Vue Vben Admin 是一个免费开源的中后台模版。使用了最新的`vue3`,`vite2`,`TypeScript`等主流技术开发,开箱即用的中后台前端解决方案,也可用于学习参考。
46 13
47 -[vue-vben-admin-thin-next](https://github.com/anncwb/vben-admin-thin-next) 14 +## 特性
48 15
49 -## 预览地址 16 +- **最新技术栈**:使用 Vue3/vite2 等前端前沿技术开发
  17 +- **TypeScript**: 应用程序级 JavaScript 的语言
  18 +- **主题**:可配置的主题
  19 +- **国际化**:内置完善的国际化方案
  20 +- **Mock 数据** 内置 Mock 数据方案
  21 +- **权限** 内置完善的动态路由权限生成方案
  22 +- **组件** 二次封装了多个常用的组件
50 23
51 -- [2.0 在线预览](https://vvbin.cn/next/) 24 +## 预览
52 25
53 -- [2.0 精简版 在线预览](https://vvbin.cn/thin/next/) 26 +- [vue-vben-admin](https://vvbin.cn/next/) - 完整版中文站点
  27 +- [vue-vben-admin-gh-pages](https://anncwb.github.io/vue-vben-admin/) - 完整版 github 站点
  28 +- [vben-admin-thin-next](https://vvbin.cn/thin/next/) - 简化版中文站点
  29 +- [vben-admin-thin-gh-pages](https://anncwb.github.io/vben-admin-thin-next/) - 简化版 github 站点
54 30
55 测试账号: vben/123456 31 测试账号: vben/123456
56 32
57 <p align="center"> 33 <p align="center">
58 - <img alt="VbenAdmin Logo" width="100%" src="./.github/res/imgs/preview1.png">  
59 - <img alt="VbenAdmin Logo" width="100%" src="./.github/res/imgs/preview2.png">  
60 - <img alt="VbenAdmin Logo" width="100%" src="./.github/res/imgs/preview3.png"> 34 + <img alt="VbenAdmin Logo" width="100%" src="https://anncwb.github.io/anncwb/images/preview1.png">
  35 + <img alt="VbenAdmin Logo" width="100%" src="https://anncwb.github.io/anncwb/images/preview2.png">
  36 + <img alt="VbenAdmin Logo" width="100%" src="https://anncwb.github.io/anncwb/images/preview3.png">
61 </p> 37 </p>
62 38
63 -## 文档  
64 -  
65 -[文档地址,持续更新中。。,](https://vvbin.cn/doc-next/)  
66 -  
67 -## 预安装  
68 -  
69 -### 环境要求 39 +### 使用 Gitpod
70 40
71 -- `Node.js`: - 版本大于 `12.0.0`  
72 -- `yarn` : - 包管理工具. 41 +在 Gitpod(适用于 GitHub 的免费在线开发环境)中打开项目,并立即开始编码.
73 42
74 -### UI 框架 43 +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/anncwb/vue-vben-admin)
75 44
76 -- [Tailwind CSS](https://tailwindcss.com/) - 2.0.0-beta.5 已删除  
77 -- [Ant Design Vue 2.0](https://2x.antdv.com/docs/vue/introduce-cn/)  
78 -  
79 -### 图标  
80 -  
81 -- [Ant Design Vue Icon Component](https://2x.antdv.com/components/icon-cn/) - 按需引入所需图标.  
82 -- [Iconify](https://iconify.design) - 使用任何图标集中的图标 [Icônes](https://icones.netlify.app/)  
83 -- [PurgeIcons](https://github.com/antfu/purge-icons) - 仅打包所使用到的图标.  
84 -  
85 -### 插件 45 +## 文档
86 46
87 -- [Vue Router Next](https://github.com/vuejs/vue-router-next)  
88 -- [Vuex Next](https://github.com/vuejs/vuex)  
89 -- [vuex-module-decorators](https://github.com/championswimmer/vuex-module-decorators) - vuex 模块化  
90 -- [vite-plugin-mock](https://github.com/anncwb/vite-plugin-mock) - 基于 vite 的 mock 插件.  
91 -- [vue-i18n](https://github.com/intlify/vue-i18n-next) - 国际化  
92 -- [lodash-es](https://github.com/lodash/lodash) - JavaScript 实用程序库  
93 -- [axios](https://github.com/axios/axios) - Http 数据交互  
94 -- [TypeScript](https://www.typescriptlang.org/) 47 +[文档地址](https://vvbin.cn/doc-next/)
95 48
96 -### 建议开发环境 49 +## 准备
97 50
98 -- `Git`: - 版本管理工具  
99 -- `Visual Studio Code` - (VSCode): 最新版本  
100 - - [VS Code Extensions](./.vscode/extensions.json)  
101 - - [Iconify IntelliSense](https://marketplace.visualstudio.com/items?itemName=antfu.iconify)  
102 - - [Tailwind CSS IntelliSense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) - Tailwind Css 样式联想  
103 - - [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur) - vue 开发必备  
104 - - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) - 脚本代码检查  
105 - - [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) - 代码格式化  
106 - - [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint) - css 格式化 51 +- [node](http://nodejs.org/) 和 [git](https://git-scm.com/) -项目开发环境
  52 +- [Vite](https://vitejs.dev/) - 熟悉 vite 特性
  53 +- [Vue3](https://v3.vuejs.org/) - 熟悉 Vue 基础语法
  54 +- [TypeScript](https://www.typescriptlang.org/) - 熟悉`TypeScript`基本语法
  55 +- [Es6+](http://es6.ruanyifeng.com/) - 熟悉 es6 基本语法
  56 +- [Vue-Router-Next](https://next.router.vuejs.org/) - 熟悉 vue-router 基本使用
  57 +- [Ant-Design-Vue](https://2x.antdv.com/docs/vue/introduce-cn/) - ui 基本使用
  58 +- [Mock.js](https://github.com/nuysoft/Mock) - mockjs 基本语法
107 59
108 -## 安装 60 +## 安装使用
109 61
110 -```js  
111 -// 使git对文件名大小写敏感  
112 -git config core.ignorecase false 62 +- 获取项目代码
113 63
114 -// 拉取项目代码 64 +```bash
  65 +git clone https://github.com/anncwb/vue-vben-admin.git
  66 +```
115 67
116 -git clone https://github.com/anncwb/vue-vben-admin.git vue-vben-admin-2.0 68 +- 安装依赖
117 69
118 -cd vue-vben-admin-2.0 70 +```bash
  71 +cd vue-vben-admin
119 72
120 -// 如果使用别的包管理工具,可以自行安装  
121 -// 如果未安装yarn,请运行:npm install -g yarn  
122 yarn install 73 yarn install
123 74
124 ``` 75 ```
125 76
126 -## 使用  
127 -  
128 -### 开发环境 77 +- 运行
129 78
130 ```bash 79 ```bash
131 yarn serve 80 yarn serve
132 ``` 81 ```
133 82
134 -### 打包 83 +- 打包
135 84
136 ```bash 85 ```bash
137 -  
138 -yarn build # 打包  
139 -  
140 -yarn build:no-cache # 打包,执行之前会先删除缓存  
141 -  
142 -yarn report # 生成构建包报表预览 86 +yarn build
143 ``` 87 ```
144 88
145 -### 格式化  
146 -  
147 -```bash  
148 -yarn lint:stylelint # 样式格式化 89 +## 更新日志
149 90
150 -yarn lint:prettier # js/ts代码格式化  
151 -``` 91 +[CHANGELOG](./CHANGELOG.zh_CN.md)
152 92
153 -### 其他 93 +## 项目地址
154 94
155 -```bash  
156 -yarn reinstall # 删除依赖重新装,兼容window 95 +- [vue-vben-admin](https://github.com/anncwb/vue-vben-admin) - 完整版
  96 +- [vue-vben-admin-thin-next](https://github.com/anncwb/vben-admin-thin-next) - 简化版
157 97
158 -yarn preview # 本地进行打包预览 98 +## 如何贡献
159 99
160 -yarn log # 生成CHANGELOG 100 +非常欢迎你的加入![提一个 Issue](https://github.com/anncwb/vue-vben-admin/issues/new/choose) 或者提交一个 Pull Request。
161 101
162 -yarn clean:cache # 删除缓存 102 +**Pull Request:**
163 103
164 -yarn clean:lib # 删除node_modules,兼容window系统  
165 -``` 104 +1. Fork 代码!
  105 +2. 创建自己的分支: `git checkout -b feat/xxxx`
  106 +3. 提交你的修改: `git commit -am 'feat(function): add xxxxx'`
  107 +4. 推送您的分支: `git push origin feat/xxxx`
  108 +5. 提交`pull request`
166 109
167 -## Git 提交规范 110 +## Git 贡献提交规范
168 111
169 - 参考 [vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) 规范 ([Angular](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular)) 112 - 参考 [vue](https://github.com/vuejs/vue/blob/dev/.github/COMMIT_CONVENTION.md) 规范 ([Angular](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular))
170 113
@@ -182,90 +125,45 @@ yarn clean:lib # 删除node_modules,兼容window系统 @@ -182,90 +125,45 @@ yarn clean:lib # 删除node_modules,兼容window系统
182 - `types` 类型定义文件更改 125 - `types` 类型定义文件更改
183 - `wip` 开发中 126 - `wip` 开发中
184 127
185 -## 代码贡献 128 +## 相关仓库
186 129
187 -1. Fork 代码!  
188 -2. 创建自己的分支: `git checkout -b feat/xxxx`  
189 -3. 提交你的修改: `git commit -am 'feat(function): add xxxxx'`  
190 -4. 推送您的分支: `git push origin feat/xxxx`  
191 -5. 提交`pull request` 130 +如果这些插件对你有帮助,可以给一个 star 支持下
192 131
193 -## 已完成功能  
194 -  
195 -- [x] 项目搭建(基于 vite)  
196 -- [x] 登录和注销  
197 -- [x] 菜单(可以搜索及拖拽以及菜单布局)  
198 -- [x] 多标签页/面包屑  
199 -- [x] 基于角色的权限管理  
200 -- [x] 基于后台的权限管理  
201 -- [x] 分离的路由和菜单设置  
202 -- [x] 可折叠侧边栏  
203 -- [x] 可拖拽侧边栏  
204 -- [x] 多标签页模式/全局控制  
205 -- [x] 菜单搜索  
206 -- [x] 页面加载 loading  
207 -- [x] 滚动条组件  
208 -- [x] 弹窗扩展(可拖拽,全屏,自适应高度)  
209 -- [x] 模拟数据  
210 -- [x] hook 封装  
211 -- [x] 表单组件  
212 -- [x] 右键菜单  
213 -- [x] 水印插件  
214 -- [x] 动画组件  
215 -- [x] 二维码插件  
216 -- [x] 国际化插件  
217 -- [x] 详情组件  
218 -- [x] 验证组件  
219 -- [x] 树组件  
220 -- [x] 图片预览组件  
221 -- [x] 表格组件  
222 -- [x] 图表库  
223 -- [x] 数字动画  
224 -- [x] 首屏加载等待动画  
225 -- [x] 抽取生产环境配置文件  
226 -- [x] 打包 Gzip  
227 -- [x] 数据导入导出  
228 -- [x] 系统性能优化  
229 -- [x] 全局错误处理  
230 -- [x] 富文本组件  
231 -- [x] 上传组件  
232 -- [x] 多语言支持  
233 -  
234 -## 正在开发的功能  
235 -  
236 -- [ ] 主题配置  
237 -- [ ] 黑暗主题  
238 -- [ ] 打包 CDN  
239 -  
240 -更多组件/功能/建议/bug/欢迎提交 pr 或者 issue 132 +- [vite-plugin-mock](https://github.com/anncwb/vite-plugin-mock) - 用于本地及开发环境数据 mock
  133 +- [vite-plugin-html](https://github.com/anncwb/vite-plugin-html) - 用于 html 模版转换及压缩
  134 +- [vite-plugin-style-import](https://github.com/anncwb/vite-plugin-style-import) - 用于组件库样式按需引入
  135 +- [vite-plugin-theme](https://github.com/anncwb/vite-plugin-theme) - 用于打包压缩图片资源
  136 +- [vite-plugin-imagemin](https://github.com/anncwb/vite-plugin-imagemin) - 用于在线切换主题色等颜色相关配置
  137 +- [vite-plugin-compression](https://github.com/anncwb/vite-plugin-compression) - 用于打包输入.gz|.brotil 文件
241 138
242 ## 浏览器支持 139 ## 浏览器支持
243 140
244 -本地开发推荐使用`Chrome`浏览器,在火狐浏览器进行开发相对卡顿。 141 +本地开发推荐使用`Chrome 80+` 浏览器
245 142
246 -支持现代浏览器, IE 暂不支持,后续考虑支持 ie11 143 +支持现代浏览器, 不支持 IE
247 144
248 | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | 145 | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt=" Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari |
249 | :-: | :-: | :-: | :-: | :-: | 146 | :-: | :-: | :-: | :-: | :-: |
250 | not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions | 147 | not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
251 148
252 -更多浏览器可以查看 [Can I Use Es Module](https://caniuse.com/?search=ES%20Module) 149 +## 维护者
253 150
254 -## 插件 151 +[@Vben](https://github.com/anncwb)
255 152
256 -如果这些插件对你有帮助,可以给一个 star 支持下 153 +## 捐赠
  154 +
  155 +如果你觉得这个项目对你有帮助,你可以帮作者买一杯咖啡表示支持!
257 156
258 -- [vite-plugin-mock](https://github.com/anncwb/vite-plugin-mock)  
259 -- [vite-plugin-html](https://github.com/anncwb/vite-plugin-html)  
260 -- [vite-plugin-style-import](https://github.com/anncwb/vite-plugin-style-import)  
261 -- [vite-plugin-theme](https://github.com/anncwb/vite-plugin-theme)  
262 -- [vite-plugin-imagemin](https://github.com/anncwb/vite-plugin-imagemin)  
263 -- [vite-plugin-compression](https://github.com/anncwb/vite-plugin-compression) 157 +![donate](https://anncwb.github.io/anncwb/images/sponsor.png)
264 158
265 -## 加入我们 159 +[Paypal Me](https://www.paypal.com/paypalme/cvvben)
266 160
267 -`Vue-Vben-Aadmin` 是完全开源免费的项目,在帮助开发者更方便地进行中大型管理系统开发,同时也提供 QQ 交流群(项目刚起步,人数较少,有兴趣的可以加群一起讨论),使用问题欢迎在群内提问。 161 +## 交流
  162 +
  163 +`Vue-vben-Admin` 是完全开源免费的项目,在帮助开发者更方便地进行中大型管理系统开发,同时也提供 QQ 交流群使用问题欢迎在群内提问。
268 164
269 - QQ 群 `569291866` 165 - QQ 群 `569291866`
270 166
271 - <img alt="VbenAdmin Logo" width="100" src="./.github/res/imgs/qq.jpeg"> 167 +## License
  168 +
  169 +[MIT © Vben-2020](./LICENSE)
mock/_createProductionServer.ts
1 import { createProdMockServer } from 'vite-plugin-mock/es/createProdMockServer'; 1 import { createProdMockServer } from 'vite-plugin-mock/es/createProdMockServer';
2 2
3 -// @ts-ignore  
4 const modules = import.meta.globEager('./**/*.ts'); 3 const modules = import.meta.globEager('./**/*.ts');
5 4
6 const mockModules: any[] = []; 5 const mockModules: any[] = [];
package.json
@@ -110,7 +110,7 @@ @@ -110,7 +110,7 @@
110 "vite-plugin-pwa": "^0.5.6", 110 "vite-plugin-pwa": "^0.5.6",
111 "vite-plugin-style-import": "^0.7.6", 111 "vite-plugin-style-import": "^0.7.6",
112 "vite-plugin-theme": "^0.4.8", 112 "vite-plugin-theme": "^0.4.8",
113 - "vite-plugin-windicss": "0.6.4", 113 + "vite-plugin-windicss": "0.6.5",
114 "vue-eslint-parser": "^7.6.0", 114 "vue-eslint-parser": "^7.6.0",
115 "yargs": "^16.2.0" 115 "yargs": "^16.2.0"
116 }, 116 },
src/components/Icon/src/IconPicker.vue
@@ -91,8 +91,8 @@ @@ -91,8 +91,8 @@
91 const icons = getIcons(); 91 const icons = getIcons();
92 export default defineComponent({ 92 export default defineComponent({
93 name: 'IconPicker', 93 name: 'IconPicker',
94 - inheritAttrs: false,  
95 components: { [Input.name]: Input, Icon, Popover, ScrollContainer, Pagination, Empty }, 94 components: { [Input.name]: Input, Icon, Popover, ScrollContainer, Pagination, Empty },
  95 + inheritAttrs: false,
96 props: { 96 props: {
97 value: propTypes.string, 97 value: propTypes.string,
98 width: propTypes.string.def('100%'), 98 width: propTypes.string.def('100%'),
src/components/Tree/src/TreeHeader.vue
@@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
26 import type { PropType } from 'vue'; 26 import type { PropType } from 'vue';
27 import { defineComponent, ref } from 'vue'; 27 import { defineComponent, ref } from 'vue';
28 28
29 - import { Dropdown, Menu, Checkbox, Input } from 'ant-design-vue'; 29 + import { Dropdown, Menu, Input } from 'ant-design-vue';
30 import { Icon } from '/@/components/Icon'; 30 import { Icon } from '/@/components/Icon';
31 import { BasicTitle } from '/@/components/Basic'; 31 import { BasicTitle } from '/@/components/Basic';
32 32
@@ -45,7 +45,6 @@ @@ -45,7 +45,6 @@
45 components: { 45 components: {
46 BasicTitle, 46 BasicTitle,
47 Icon, 47 Icon,
48 - Checkbox,  
49 Dropdown, 48 Dropdown,
50 Menu, 49 Menu,
51 MenuItem: Menu.Item, 50 MenuItem: Menu.Item,
yarn.lock
@@ -1780,10 +1780,10 @@ @@ -1780,10 +1780,10 @@
1780 dependencies: 1780 dependencies:
1781 vue-demi latest 1781 vue-demi latest
1782 1782
1783 -"@windicss/plugin-utils@0.6.4":  
1784 - version "0.6.4"  
1785 - resolved "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-0.6.4.tgz#854f411b156fea61b2e6724799e91f0f9407a637"  
1786 - integrity sha512-5RZQ71snmoKmZEXHyCByOohUM/SsWIX856+geMwOfbMOGL0guv/1TVg2PalFrZh3k/HfqQnO2ft5YSWKtrW32A== 1783 +"@windicss/plugin-utils@0.6.5":
  1784 + version "0.6.5"
  1785 + resolved "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-0.6.5.tgz#c37082ea3e52c605508e7fb9b7331cb80b140441"
  1786 + integrity sha512-8ZZdauxS+d3AE7RQtk7R6cWgiHQ/IUvavv0vsfXHKdvEkwMyI/GUU01VLWTXWRsWyM2+D2F6/HOgUxmxYQx5Sg==
1787 dependencies: 1787 dependencies:
1788 esbuild "^0.8.54" 1788 esbuild "^0.8.54"
1789 esbuild-register "^2.0.0" 1789 esbuild-register "^2.0.0"
@@ -8957,12 +8957,12 @@ vite-plugin-theme@^0.4.8: @@ -8957,12 +8957,12 @@ vite-plugin-theme@^0.4.8:
8957 es-module-lexer "^0.3.26" 8957 es-module-lexer "^0.3.26"
8958 tinycolor2 "^1.4.2" 8958 tinycolor2 "^1.4.2"
8959 8959
8960 -vite-plugin-windicss@0.6.4:  
8961 - version "0.6.4"  
8962 - resolved "https://registry.npmjs.org/vite-plugin-windicss/-/vite-plugin-windicss-0.6.4.tgz#2d2bc7831dddff129d597959efaff616c6408a01"  
8963 - integrity sha512-4BuUglBXeNIrIDfSKyg7rvqKEmxvyja2aKJxgHdOCICV8jIz2MvrZaRS9a74gUihz+OohBYqLnkOlfD+sCIQBg== 8960 +vite-plugin-windicss@0.6.5:
  8961 + version "0.6.5"
  8962 + resolved "https://registry.npmjs.org/vite-plugin-windicss/-/vite-plugin-windicss-0.6.5.tgz#14b6fc43fcbc2dc143b33c83c58e3f7fe820aa9a"
  8963 + integrity sha512-zEpPlVRaXQbgA0Tsj/N4Kt1jAEZ2aMqVrq4/LaTekS0LCdtD1sQXoadAz2Af/N+qA7ICu8VBpijONH6c8AS4Xg==
8964 dependencies: 8964 dependencies:
8965 - "@windicss/plugin-utils" "0.6.4" 8965 + "@windicss/plugin-utils" "0.6.5"
8966 windicss "^2.2.3" 8966 windicss "^2.2.3"
8967 8967
8968 vite@^2.0.5: 8968 vite@^2.0.5: