Commit 025ee9276455809b649706264e41473b828e446b
1 parent
ddccbe4f
chore: update readme.md
Showing
12 changed files
with
657 additions
and
465 deletions
README.en-US.md deleted
100644 → 0
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.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) | |
35 | - | |
36 | -## Introduction | |
37 | - | |
38 | -The project is based on the vue3 style background management system implemented by ʻant-design-vue`, `typescript`,`vue3.0`,`vite`,`tsx`, | |
39 | - | |
40 | -## GitHub | |
41 | - | |
42 | -[vue-vben-admin2.0](https://github.com/anncwb/vue-vben-admin) - `main` branch | |
43 | - | |
44 | -### Thin | |
45 | - | |
46 | -[vue-vben-admin-thin-next](https://github.com/anncwb/vben-admin-thin-next) | |
47 | - | |
48 | -## Preview | |
49 | - | |
50 | -- [2.0 preview](https://vvbin.cn/next/) | |
51 | - | |
52 | -- [2.0 Thin Preview](https://vvbin.cn/thin/next/) | |
53 | - | |
54 | -Account for test: vben/123456 | |
55 | - | |
56 | -<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"> | |
60 | -</p> | |
61 | - | |
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` is better. | |
71 | -- `yarn` > `npm` > `cnpm`: - Package management tool. | |
72 | - | |
73 | -### UI framework | |
74 | - | |
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/) | |
77 | - | |
78 | -### Icon | |
79 | - | |
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. | |
83 | - | |
84 | -### Plugin | |
85 | - | |
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/) | |
94 | - | |
95 | -### Suggested development environment | |
96 | - | |
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 | |
106 | - | |
107 | -## Install | |
108 | - | |
109 | -```bash | |
110 | -# Make git case sensitive to file names | |
111 | -git config core.ignorecase false | |
112 | - | |
113 | -# Pull code of the project | |
114 | -git clone https://github.com/anncwb/vue-vben-admin.git vue-vben-admin-2.0 | |
115 | - | |
116 | -cd vue-vben-admin-2.0 | |
117 | - | |
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 | |
121 | - | |
122 | -``` | |
123 | - | |
124 | -## Usage | |
125 | - | |
126 | -### Development environment | |
127 | - | |
128 | -```bash | |
129 | -yarn serve | |
130 | -``` | |
131 | - | |
132 | -### Build | |
133 | - | |
134 | -```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 | |
141 | -``` | |
142 | - | |
143 | -### Format | |
144 | - | |
145 | -```bash | |
146 | -yarn lint:stylelint # css formatting | |
147 | - | |
148 | -yarn lint:prettier # js/ts code formatting | |
149 | -``` | |
150 | - | |
151 | -### Other | |
152 | - | |
153 | -```bash | |
154 | -yarn reinstall # Remove dependencies and reinstall, supported window | |
155 | - | |
156 | -yarn preview # Build and preview in local | |
157 | - | |
158 | -yarn log # Generate CHANGELOG | |
159 | - | |
160 | -yarn clean:cache # Delete cache | |
161 | - | |
162 | -yarn clean:lib # Delete node_modules, supported window | |
163 | -``` | |
164 | - | |
165 | -## Git submit specifications | |
166 | - | |
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)) | |
168 | - | |
169 | - - `feat` Add new features | |
170 | - - `fix` Fix problem/BUG | |
171 | - - `style` Code style related and doesn't affect the running result | |
172 | - - `perf` Optimization/performance improvement | |
173 | - - `refactor` Refactor | |
174 | - - `revert` Undo edit | |
175 | - - `test` Test related | |
176 | - - `docs` Documentation/notes | |
177 | - - `chore` Dependent update/scaffolding configuration modification etc | |
178 | - - `workflow` Workflow improvements | |
179 | - - `ci` Continuous integration | |
180 | - - `types` Update file of type definition | |
181 | - - `wip` Developing | |
182 | - | |
183 | -## Code contribution | |
184 | - | |
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` | |
190 | - | |
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. | |
238 | - | |
239 | -## Browser support | |
240 | - | |
241 | -It is recommended to use the `Chrome` browser for local development. Development in the Firefox browser is relatively slow. | |
242 | - | |
243 | -Support modern browsers, Not currently supported ie11,Follow-up consideration support ie11 | |
244 | - | |
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 | | |
246 | -| :-: | :-: | :-: | :-: | :-: | | |
247 | -| not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions | | |
248 | - | |
249 | -More browsers can view [Can I Use Es Module](https://caniuse.com/?search=ES%20Module) | |
250 | - | |
251 | -## Plugins | |
252 | - | |
253 | -If these plugins are helpful to you, you can give a star | |
254 | - | |
255 | -- [vite-plugin-mock](https://github.com/anncwb/vite-plugin-mock) | |
256 | -- [vite-plugin-html](https://github.com/anncwb/vite-plugin-html) |
README.md
1 | 1 | <p align="center"> |
2 | 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"> | |
3 | + <img alt="VbenAdmin Logo" width="200" src="/anncwb/vue-vben-admin/raw/main/.github/res/imgs/logo.png"> | |
4 | 4 | </a> |
5 | 5 | </p> |
6 | 6 | <h2 align="center">VUE VBEN ADMIN2.0</h2> |
7 | 7 | |
8 | -**中文** | [English](./README.en-US.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 | -- [加入我们](#加入我们) | |
36 | - | |
37 | -## 介绍 | |
38 | - | |
39 | -项目基于`ant-design-vue`,`typescript`,`vue3.0`,`vite`,`tsx`实现的 vue3 风格的后台管理系统, | |
40 | - | |
41 | -## gitHub 地址 | |
42 | - | |
43 | -[vue-vben-admin2.0](https://github.com/anncwb/vue-vben-admin) - `main` 分支 | |
44 | - | |
45 | -### 精简版地址 | |
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) | |
35 | + | |
36 | +## Introduction | |
37 | + | |
38 | +The project is based on the vue3 style background management system implemented by ʻant-design-vue`, `typescript`,`vue3.0`,`vite`,`tsx`, | |
39 | + | |
40 | +## GitHub | |
41 | + | |
42 | +[vue-vben-admin2.0](https://github.com/anncwb/vue-vben-admin) - `main` branch | |
43 | + | |
44 | +### Thin | |
46 | 45 | |
47 | 46 | [vue-vben-admin-thin-next](https://github.com/anncwb/vben-admin-thin-next) |
48 | 47 | |
49 | -## 预览地址 | |
48 | +## Preview | |
50 | 49 | |
51 | -- [2.0 在线预览](https://vvbin.cn/next/) | |
50 | +- [2.0 preview](https://vvbin.cn/next/) | |
52 | 51 | |
53 | -- [2.0 精简版 在线预览](https://vvbin.cn/thin/next/) | |
52 | +- [2.0 Thin Preview](https://vvbin.cn/thin/next/) | |
54 | 53 | |
55 | -测试账号: vben/123456 | |
54 | +Account for test: vben/123456 | |
56 | 55 | |
57 | 56 | <p align="center"> |
58 | 57 | <img alt="VbenAdmin Logo" width="100%" src="./.github/res/imgs/preview1.png"> |
... | ... | @@ -60,209 +59,199 @@ |
60 | 59 | <img alt="VbenAdmin Logo" width="100%" src="./.github/res/imgs/preview3.png"> |
61 | 60 | </p> |
62 | 61 | |
63 | -## 文档 | |
62 | +## Documentation | |
64 | 63 | |
65 | -[文档地址,持续更新中。。,](https://vvbin.cn/doc-next/) | |
64 | +The documentation for 2.0 hasn't started yet, it will be provided later. | |
66 | 65 | |
67 | -## 预安装 | |
66 | +## Preinstallation | |
68 | 67 | |
69 | -### 环境要求 | |
68 | +### Environmental requirements | |
70 | 69 | |
71 | -- `Node.js`: - 版本最好大于 `12.0.0` | |
72 | -- `yarn` : - 包管理工具. | |
70 | +- `Node.js`: - Version>`12.0.0` is better. | |
71 | +- `yarn` > `npm` > `cnpm`: - Package management tool. | |
73 | 72 | |
74 | -### UI 框架 | |
73 | +### UI framework | |
75 | 74 | |
76 | -- [Tailwind CSS](https://tailwindcss.com/) - 2.0.0-beta.5 已删除 | |
75 | +- [Tailwind CSS](https://tailwindcss.com/) - 2.0.0-beta.5 has deleted. | |
77 | 76 | - [Ant Design Vue 2.0](https://2x.antdv.com/docs/vue/introduce-cn/) |
78 | 77 | |
79 | -### 图标 | |
78 | +### Icon | |
80 | 79 | |
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) - 仅打包所使用到的图标. | |
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. | |
84 | 83 | |
85 | -### 插件 | |
84 | +### Plugin | |
86 | 85 | |
87 | 86 | - [Vue Router Next](https://github.com/vuejs/vue-router-next) |
88 | 87 | - [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 数据交互 | |
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 | |
94 | 93 | - [TypeScript](https://www.typescriptlang.org/) |
95 | 94 | |
96 | -### 建议开发环境 | |
95 | +### Suggested development environment | |
97 | 96 | |
98 | -- `Git`: - 版本管理工具 | |
99 | -- `Visual Studio Code` - (VSCode): 最新版本 | |
97 | +- `Git`: - Tool of version management | |
98 | +- `Visual Studio Code` - (VSCode): Latest version | |
100 | 99 | - [VS Code Extensions](./.vscode/extensions.json) |
101 | 100 | - [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 格式化 | |
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 | |
107 | 106 | |
108 | -## 安装 | |
107 | +## Install | |
109 | 108 | |
110 | -```js | |
111 | -// 使git对文件名大小写敏感 | |
109 | +```bash | |
110 | +# Make git case sensitive to file names | |
112 | 111 | git config core.ignorecase false |
113 | 112 | |
114 | -// 拉取项目代码 | |
115 | - | |
113 | +# Pull code of the project | |
116 | 114 | git clone https://github.com/anncwb/vue-vben-admin.git vue-vben-admin-2.0 |
117 | 115 | |
118 | 116 | cd vue-vben-admin-2.0 |
119 | 117 | |
120 | -// 如果使用别的包管理工具,可以自行安装 | |
121 | -// 如果未安装yarn,请运行:npm install -g yarn | |
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 | |
122 | 120 | yarn install |
123 | 121 | |
124 | 122 | ``` |
125 | 123 | |
126 | -## 使用 | |
124 | +## Usage | |
127 | 125 | |
128 | -### 开发环境 | |
126 | +### Development environment | |
129 | 127 | |
130 | 128 | ```bash |
131 | 129 | yarn serve |
132 | 130 | ``` |
133 | 131 | |
134 | -### 打包 | |
132 | +### Build | |
135 | 133 | |
136 | 134 | ```bash |
137 | 135 | |
138 | -yarn build # 打包 | |
136 | +yarn build # build | |
139 | 137 | |
140 | -yarn build:no-cache # 打包,执行之前会先删除缓存 | |
138 | +yarn build:no-cache # build, cache will be removed before build | |
141 | 139 | |
142 | -yarn report # 生成构建包报表预览 | |
140 | +yarn report # Generate build package report preview | |
143 | 141 | ``` |
144 | 142 | |
145 | -### 格式化 | |
143 | +### Format | |
146 | 144 | |
147 | 145 | ```bash |
148 | -yarn lint:stylelint # 样式格式化 | |
146 | +yarn lint:stylelint # css formatting | |
149 | 147 | |
150 | -yarn lint:prettier # js/ts代码格式化 | |
148 | +yarn lint:prettier # js/ts code formatting | |
151 | 149 | ``` |
152 | 150 | |
153 | -### 其他 | |
151 | +### Other | |
154 | 152 | |
155 | 153 | ```bash |
156 | -yarn reinstall # 删除依赖重新装,兼容window | |
154 | +yarn reinstall # Remove dependencies and reinstall, supported window | |
157 | 155 | |
158 | -yarn preview # 本地进行打包预览 | |
156 | +yarn preview # Build and preview in local | |
159 | 157 | |
160 | -yarn log # 生成CHANGELOG | |
158 | +yarn log # Generate CHANGELOG | |
161 | 159 | |
162 | -yarn clean:cache # 删除缓存 | |
160 | +yarn clean:cache # Delete cache | |
163 | 161 | |
164 | -yarn clean:lib # 删除node_modules,兼容window系统 | |
162 | +yarn clean:lib # Delete node_modules, supported window | |
165 | 163 | ``` |
166 | 164 | |
167 | -## Git 提交规范 | |
168 | - | |
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)) | |
170 | - | |
171 | - - `feat` 增加新功能 | |
172 | - - `fix` 修复问题/BUG | |
173 | - - `style` 代码风格相关无影响运行结果的 | |
174 | - - `perf` 优化/性能提升 | |
175 | - - `refactor` 重构 | |
176 | - - `revert` 撤销修改 | |
177 | - - `test` 测试相关 | |
178 | - - `docs` 文档/注释 | |
179 | - - `chore` 依赖更新/脚手架配置修改等 | |
180 | - - `workflow` 工作流改进 | |
181 | - - `ci` 持续集成 | |
182 | - - `types` 类型定义文件更改 | |
183 | - - `wip` 开发中 | |
184 | - | |
185 | -## 代码贡献 | |
186 | - | |
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` | |
192 | - | |
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 | - | |
233 | -## 正在开发的功能 | |
234 | - | |
235 | -- [ ] 新分支全局国家化 | |
236 | -- [ ] 示例 page 页面 | |
237 | -- [ ] 主题配置 | |
238 | -- [ ] 黑暗主题 | |
239 | -- [ ] 打包 CDN | |
240 | - | |
241 | -更多组件/功能/建议/bug/欢迎提交 pr 或者 issue | |
242 | - | |
243 | -## 浏览器支持 | |
244 | - | |
245 | -本地开发推荐使用`Chrome`浏览器,在火狐浏览器进行开发相对卡顿。 | |
246 | - | |
247 | -支持现代浏览器, IE 暂不支持,后续考虑支持 ie11 | |
165 | +## Git submit specifications | |
166 | + | |
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)) | |
168 | + | |
169 | + - `feat` Add new features | |
170 | + - `fix` Fix problem/BUG | |
171 | + - `style` Code style related and doesn't affect the running result | |
172 | + - `perf` Optimization/performance improvement | |
173 | + - `refactor` Refactor | |
174 | + - `revert` Undo edit | |
175 | + - `test` Test related | |
176 | + - `docs` Documentation/notes | |
177 | + - `chore` Dependent update/scaffolding configuration modification etc | |
178 | + - `workflow` Workflow improvements | |
179 | + - `ci` Continuous integration | |
180 | + - `types` Update file of type definition | |
181 | + - `wip` Developing | |
182 | + | |
183 | +## Code contribution | |
184 | + | |
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` | |
190 | + | |
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. | |
238 | + | |
239 | +## Browser support | |
240 | + | |
241 | +It is recommended to use the `Chrome` browser for local development. Development in the Firefox browser is relatively slow. | |
242 | + | |
243 | +Support modern browsers, Not currently supported ie11,Follow-up consideration support ie11 | |
248 | 244 | |
249 | 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 | |
250 | 246 | | :-: | :-: | :-: | :-: | :-: | |
251 | 247 | | not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions | |
252 | 248 | |
253 | -更多浏览器可以查看 [Can I Use Es Module](https://caniuse.com/?search=ES%20Module) | |
254 | - | |
255 | -## 插件 | |
256 | - | |
257 | -如果这些插件对你有帮助,可以给一个 star 支持下 | |
258 | - | |
259 | -- [vite-plugin-mock](https://github.com/vbenjs/vite-plugin-mock) | |
260 | -- [vite-plugin-html](https://github.com/vbenjs/vite-plugin-html) | |
261 | - | |
262 | -## 加入我们 | |
249 | +More browsers can view [Can I Use Es Module](https://caniuse.com/?search=ES%20Module) | |
263 | 250 | |
264 | -`Vue-Vben-Aadmin` 是完全开源免费的项目,在帮助开发者更方便地进行中大型管理系统开发,同时也提供 QQ 交流群(项目刚起步,人数较少,有兴趣的可以加群一起讨论),使用问题欢迎在群内提问。 | |
251 | +## Plugins | |
265 | 252 | |
266 | -- QQ 群 `569291866` | |
253 | +If these plugins are helpful to you, you can give a star | |
267 | 254 | |
268 | - <img alt="VbenAdmin Logo" width="100" src="./.github/res/imgs/qq.jpeg"> | |
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/vbenjs/vite-plugin-style-import) | ... | ... |
README.zh-CN.md
0 → 100644
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 | +- [加入我们](#加入我们) | |
36 | + | |
37 | +## 介绍 | |
38 | + | |
39 | +项目基于`ant-design-vue`,`typescript`,`vue3.0`,`vite`,`tsx`实现的 vue3 风格的后台管理系统, | |
40 | + | |
41 | +## gitHub 地址 | |
42 | + | |
43 | +[vue-vben-admin2.0](https://github.com/anncwb/vue-vben-admin) - `main` 分支 | |
44 | + | |
45 | +### 精简版地址 | |
46 | + | |
47 | +[vue-vben-admin-thin-next](https://github.com/anncwb/vben-admin-thin-next) | |
48 | + | |
49 | +## 预览地址 | |
50 | + | |
51 | +- [2.0 在线预览](https://vvbin.cn/next/) | |
52 | + | |
53 | +- [2.0 精简版 在线预览](https://vvbin.cn/thin/next/) | |
54 | + | |
55 | +测试账号: vben/123456 | |
56 | + | |
57 | +<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"> | |
61 | +</p> | |
62 | + | |
63 | +## 文档 | |
64 | + | |
65 | +[文档地址,持续更新中。。,](https://vvbin.cn/doc-next/) | |
66 | + | |
67 | +## 预安装 | |
68 | + | |
69 | +### 环境要求 | |
70 | + | |
71 | +- `Node.js`: - 版本最好大于 `12.0.0` | |
72 | +- `yarn` : - 包管理工具. | |
73 | + | |
74 | +### UI 框架 | |
75 | + | |
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 | +### 插件 | |
86 | + | |
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/) | |
95 | + | |
96 | +### 建议开发环境 | |
97 | + | |
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 格式化 | |
107 | + | |
108 | +## 安装 | |
109 | + | |
110 | +```js | |
111 | +// 使git对文件名大小写敏感 | |
112 | +git config core.ignorecase false | |
113 | + | |
114 | +// 拉取项目代码 | |
115 | + | |
116 | +git clone https://github.com/anncwb/vue-vben-admin.git vue-vben-admin-2.0 | |
117 | + | |
118 | +cd vue-vben-admin-2.0 | |
119 | + | |
120 | +// 如果使用别的包管理工具,可以自行安装 | |
121 | +// 如果未安装yarn,请运行:npm install -g yarn | |
122 | +yarn install | |
123 | + | |
124 | +``` | |
125 | + | |
126 | +## 使用 | |
127 | + | |
128 | +### 开发环境 | |
129 | + | |
130 | +```bash | |
131 | +yarn serve | |
132 | +``` | |
133 | + | |
134 | +### 打包 | |
135 | + | |
136 | +```bash | |
137 | + | |
138 | +yarn build # 打包 | |
139 | + | |
140 | +yarn build:no-cache # 打包,执行之前会先删除缓存 | |
141 | + | |
142 | +yarn report # 生成构建包报表预览 | |
143 | +``` | |
144 | + | |
145 | +### 格式化 | |
146 | + | |
147 | +```bash | |
148 | +yarn lint:stylelint # 样式格式化 | |
149 | + | |
150 | +yarn lint:prettier # js/ts代码格式化 | |
151 | +``` | |
152 | + | |
153 | +### 其他 | |
154 | + | |
155 | +```bash | |
156 | +yarn reinstall # 删除依赖重新装,兼容window | |
157 | + | |
158 | +yarn preview # 本地进行打包预览 | |
159 | + | |
160 | +yarn log # 生成CHANGELOG | |
161 | + | |
162 | +yarn clean:cache # 删除缓存 | |
163 | + | |
164 | +yarn clean:lib # 删除node_modules,兼容window系统 | |
165 | +``` | |
166 | + | |
167 | +## Git 提交规范 | |
168 | + | |
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)) | |
170 | + | |
171 | + - `feat` 增加新功能 | |
172 | + - `fix` 修复问题/BUG | |
173 | + - `style` 代码风格相关无影响运行结果的 | |
174 | + - `perf` 优化/性能提升 | |
175 | + - `refactor` 重构 | |
176 | + - `revert` 撤销修改 | |
177 | + - `test` 测试相关 | |
178 | + - `docs` 文档/注释 | |
179 | + - `chore` 依赖更新/脚手架配置修改等 | |
180 | + - `workflow` 工作流改进 | |
181 | + - `ci` 持续集成 | |
182 | + - `types` 类型定义文件更改 | |
183 | + - `wip` 开发中 | |
184 | + | |
185 | +## 代码贡献 | |
186 | + | |
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` | |
192 | + | |
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 | |
241 | + | |
242 | +## 浏览器支持 | |
243 | + | |
244 | +本地开发推荐使用`Chrome`浏览器,在火狐浏览器进行开发相对卡顿。 | |
245 | + | |
246 | +支持现代浏览器, IE 暂不支持,后续考虑支持 ie11 | |
247 | + | |
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 | | |
249 | +| :-: | :-: | :-: | :-: | :-: | | |
250 | +| not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions | | |
251 | + | |
252 | +更多浏览器可以查看 [Can I Use Es Module](https://caniuse.com/?search=ES%20Module) | |
253 | + | |
254 | +## 插件 | |
255 | + | |
256 | +如果这些插件对你有帮助,可以给一个 star 支持下 | |
257 | + | |
258 | +- [vite-plugin-mock](https://github.com/vbenjs/vite-plugin-mock) | |
259 | +- [vite-plugin-html](https://github.com/vbenjs/vite-plugin-html) | |
260 | +- [vite-plugin-style-import](https://github.com/vbenjs/vite-plugin-style-import) | |
261 | + | |
262 | +## 加入我们 | |
263 | + | |
264 | +`Vue-Vben-Aadmin` 是完全开源免费的项目,在帮助开发者更方便地进行中大型管理系统开发,同时也提供 QQ 交流群(项目刚起步,人数较少,有兴趣的可以加群一起讨论),使用问题欢迎在群内提问。 | |
265 | + | |
266 | +- QQ 群 `569291866` | |
267 | + | |
268 | + <img alt="VbenAdmin Logo" width="100" src="./.github/res/imgs/qq.jpeg"> | ... | ... |
package.json
prettier.config.js
src/components/SimpleMenu/src/SimpleSubMenu.vue
src/components/SimpleMenu/src/components/Menu.vue
... | ... | @@ -22,7 +22,6 @@ |
22 | 22 | import { propTypes } from '/@/utils/propTypes'; |
23 | 23 | import { createSimpleRootMenuContext } from './useSimpleMenuContext'; |
24 | 24 | import Mitt from '/@/utils/mitt'; |
25 | - import { isString } from '/@/utils/is'; | |
26 | 25 | export default defineComponent({ |
27 | 26 | name: 'Menu', |
28 | 27 | props: { | ... | ... |
src/components/SimpleMenu/src/components/menu.less
... | ... | @@ -2,8 +2,6 @@ |
2 | 2 | @menu-popup-prefix-cls: ~'@{namespace}-menu-popup'; |
3 | 3 | @submenu-popup-prefix-cls: ~'@{namespace}-menu-submenu-popup'; |
4 | 4 | |
5 | -// @menu-dark: #191a23; | |
6 | -// @menu-dark-active-bg: #101117; | |
7 | 5 | @transition-time: 0.2s; |
8 | 6 | @menu-dark-subsidiary-color: rgba(255, 255, 255, 0.7); |
9 | 7 | |
... | ... | @@ -167,6 +165,7 @@ |
167 | 165 | z-index: 1; |
168 | 166 | padding: 12px 24px; |
169 | 167 | cursor: pointer; |
168 | + .text-truncate(); | |
170 | 169 | // transition: all @transition-time @ease-in-out; |
171 | 170 | |
172 | 171 | &:hover { | ... | ... |
src/components/SimpleMenu/src/index.less
... | ... | @@ -19,10 +19,16 @@ |
19 | 19 | |
20 | 20 | .collapse-title { |
21 | 21 | font-size: 12px; |
22 | + .text-truncate(); | |
22 | 23 | } |
23 | 24 | } |
24 | 25 | |
25 | 26 | .@{simple-prefix-cls} { |
27 | + &-sub-title { | |
28 | + transition: all 0.3s; | |
29 | + .text-truncate(); | |
30 | + } | |
31 | + | |
26 | 32 | &-tag { |
27 | 33 | position: absolute; |
28 | 34 | top: calc(50% - 10px); | ... | ... |
tsconfig.json
vite.config.ts
yarn.lock
... | ... | @@ -2128,6 +2128,14 @@ JSONStream@^1.0.4: |
2128 | 2128 | jsonparse "^1.2.0" |
2129 | 2129 | through ">=2.2.7 <3" |
2130 | 2130 | |
2131 | +accepts@^1.3.5: | |
2132 | + version "1.3.7" | |
2133 | + resolved "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" | |
2134 | + integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== | |
2135 | + dependencies: | |
2136 | + mime-types "~2.1.24" | |
2137 | + negotiator "0.6.2" | |
2138 | + | |
2131 | 2139 | acorn-jsx@^5.2.0, acorn-jsx@^5.3.1: |
2132 | 2140 | version "5.3.1" |
2133 | 2141 | resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz#fc8661e11b7ac1539c47dbfea2e72b3af34d267b" |
... | ... | @@ -2245,7 +2253,7 @@ ant-design-vue@^2.0.0-rc.8: |
2245 | 2253 | vue-types "^3.0.0" |
2246 | 2254 | warning "^4.0.0" |
2247 | 2255 | |
2248 | -any-promise@^1.0.0: | |
2256 | +any-promise@^1.0.0, any-promise@^1.1.0: | |
2249 | 2257 | version "1.3.0" |
2250 | 2258 | resolved "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" |
2251 | 2259 | integrity sha1-q8av7tzqUugJzcA3au0845Y10X8= |
... | ... | @@ -2571,6 +2579,14 @@ cache-base@^1.0.1: |
2571 | 2579 | union-value "^1.0.0" |
2572 | 2580 | unset-value "^1.0.0" |
2573 | 2581 | |
2582 | +cache-content-type@^1.0.0: | |
2583 | + version "1.0.1" | |
2584 | + resolved "https://registry.npmjs.org/cache-content-type/-/cache-content-type-1.0.1.tgz#035cde2b08ee2129f4a8315ea8f00a00dba1453c" | |
2585 | + integrity sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA== | |
2586 | + dependencies: | |
2587 | + mime-types "^2.1.18" | |
2588 | + ylru "^1.2.0" | |
2589 | + | |
2574 | 2590 | cachedir@2.2.0: |
2575 | 2591 | version "2.2.0" |
2576 | 2592 | resolved "https://registry.npmjs.org/cachedir/-/cachedir-2.2.0.tgz#19afa4305e05d79e417566882e0c8f960f62ff0e" |
... | ... | @@ -2841,6 +2857,11 @@ clone-regexp@^2.1.0: |
2841 | 2857 | dependencies: |
2842 | 2858 | is-regexp "^2.0.0" |
2843 | 2859 | |
2860 | +co@^4.6.0: | |
2861 | + version "4.6.0" | |
2862 | + resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" | |
2863 | + integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ= | |
2864 | + | |
2844 | 2865 | codepage@~1.14.0: |
2845 | 2866 | version "1.14.0" |
2846 | 2867 | resolved "https://registry.npmjs.org/codepage/-/codepage-1.14.0.tgz#8cbe25481323559d7d307571b0fff91e7a1d2f99" |
... | ... | @@ -3015,7 +3036,14 @@ constant-case@^3.0.4: |
3015 | 3036 | tslib "^2.0.3" |
3016 | 3037 | upper-case "^2.0.2" |
3017 | 3038 | |
3018 | -content-type@~1.0.4: | |
3039 | +content-disposition@~0.5.2: | |
3040 | + version "0.5.3" | |
3041 | + resolved "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd" | |
3042 | + integrity sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g== | |
3043 | + dependencies: | |
3044 | + safe-buffer "5.1.2" | |
3045 | + | |
3046 | +content-type@^1.0.4, content-type@~1.0.4: | |
3019 | 3047 | version "1.0.4" |
3020 | 3048 | resolved "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" |
3021 | 3049 | integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== |
... | ... | @@ -3200,6 +3228,14 @@ cookie@^0.4.1: |
3200 | 3228 | resolved "https://registry.npmjs.org/cookie/-/cookie-0.4.1.tgz#afd713fe26ebd21ba95ceb61f9a8116e50a537d1" |
3201 | 3229 | integrity sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA== |
3202 | 3230 | |
3231 | +cookies@~0.8.0: | |
3232 | + version "0.8.0" | |
3233 | + resolved "https://registry.npmjs.org/cookies/-/cookies-0.8.0.tgz#1293ce4b391740a8406e3c9870e828c4b54f3f90" | |
3234 | + integrity sha512-8aPsApQfebXnuI+537McwYsDtjVxGm8gTIzQI3FDW6t5t/DAhERxtnbEPN/8RX+uZthoz4eCOgloXaE5cYyNow== | |
3235 | + dependencies: | |
3236 | + depd "~2.0.0" | |
3237 | + keygrip "~1.1.0" | |
3238 | + | |
3203 | 3239 | copy-anything@^2.0.1: |
3204 | 3240 | version "2.0.1" |
3205 | 3241 | resolved "https://registry.npmjs.org/copy-anything/-/copy-anything-2.0.1.tgz#2afbce6da684bdfcbec93752fa762819cb480d9a" |
... | ... | @@ -3392,6 +3428,13 @@ debug@^4.3.2: |
3392 | 3428 | dependencies: |
3393 | 3429 | ms "2.1.2" |
3394 | 3430 | |
3431 | +debug@~3.1.0: | |
3432 | + version "3.1.0" | |
3433 | + resolved "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" | |
3434 | + integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== | |
3435 | + dependencies: | |
3436 | + ms "2.0.0" | |
3437 | + | |
3395 | 3438 | decamelize-keys@^1.0.0, decamelize-keys@^1.1.0: |
3396 | 3439 | version "1.1.0" |
3397 | 3440 | resolved "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz#d171a87933252807eb3cb61dc1c1445d078df2d9" |
... | ... | @@ -3415,6 +3458,11 @@ dedent@0.7.0, dedent@^0.7.0: |
3415 | 3458 | resolved "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" |
3416 | 3459 | integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= |
3417 | 3460 | |
3461 | +deep-equal@~1.0.1: | |
3462 | + version "1.0.1" | |
3463 | + resolved "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5" | |
3464 | + integrity sha1-9dJgKStmDghO/0zbyfCK0yR0SLU= | |
3465 | + | |
3418 | 3466 | deep-is@^0.1.3: |
3419 | 3467 | version "0.1.3" |
3420 | 3468 | resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" |
... | ... | @@ -3454,11 +3502,26 @@ define-property@^2.0.2: |
3454 | 3502 | is-descriptor "^1.0.2" |
3455 | 3503 | isobject "^3.0.1" |
3456 | 3504 | |
3505 | +delegates@^1.0.0: | |
3506 | + version "1.0.0" | |
3507 | + resolved "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" | |
3508 | + integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= | |
3509 | + | |
3510 | +depd@^2.0.0, depd@~2.0.0: | |
3511 | + version "2.0.0" | |
3512 | + resolved "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" | |
3513 | + integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== | |
3514 | + | |
3457 | 3515 | depd@~1.1.2: |
3458 | 3516 | version "1.1.2" |
3459 | 3517 | resolved "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" |
3460 | 3518 | integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= |
3461 | 3519 | |
3520 | +destroy@^1.0.4: | |
3521 | + version "1.0.4" | |
3522 | + resolved "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" | |
3523 | + integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= | |
3524 | + | |
3462 | 3525 | detect-file@^1.0.0: |
3463 | 3526 | version "1.0.0" |
3464 | 3527 | resolved "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" |
... | ... | @@ -3610,7 +3673,7 @@ emojis-list@^3.0.0: |
3610 | 3673 | resolved "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" |
3611 | 3674 | integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== |
3612 | 3675 | |
3613 | -encodeurl@~1.0.2: | |
3676 | +encodeurl@^1.0.2, encodeurl@~1.0.2: | |
3614 | 3677 | version "1.0.2" |
3615 | 3678 | resolved "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" |
3616 | 3679 | integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= |
... | ... | @@ -3678,7 +3741,7 @@ escalade@^3.1.1: |
3678 | 3741 | resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" |
3679 | 3742 | integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== |
3680 | 3743 | |
3681 | -escape-html@~1.0.3: | |
3744 | +escape-html@^1.0.3, escape-html@~1.0.3: | |
3682 | 3745 | version "1.0.3" |
3683 | 3746 | resolved "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" |
3684 | 3747 | integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= |
... | ... | @@ -4153,6 +4216,11 @@ fragment-cache@^0.2.1: |
4153 | 4216 | dependencies: |
4154 | 4217 | map-cache "^0.2.2" |
4155 | 4218 | |
4219 | +fresh@~0.5.2: | |
4220 | + version "0.5.2" | |
4221 | + resolved "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" | |
4222 | + integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= | |
4223 | + | |
4156 | 4224 | fs-extra@8.1.0: |
4157 | 4225 | version "8.1.0" |
4158 | 4226 | resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" |
... | ... | @@ -4558,6 +4626,14 @@ htmlparser2@^3.10.0: |
4558 | 4626 | inherits "^2.0.1" |
4559 | 4627 | readable-stream "^3.1.1" |
4560 | 4628 | |
4629 | +http-assert@^1.3.0: | |
4630 | + version "1.4.1" | |
4631 | + resolved "https://registry.npmjs.org/http-assert/-/http-assert-1.4.1.tgz#c5f725d677aa7e873ef736199b89686cceb37878" | |
4632 | + integrity sha512-rdw7q6GTlibqVVbXr0CKelfV5iY8G2HqEUkhSk297BMbSpSL8crXC+9rjKoMcZZEsksX30le6f/4ul4E28gegw== | |
4633 | + dependencies: | |
4634 | + deep-equal "~1.0.1" | |
4635 | + http-errors "~1.7.2" | |
4636 | + | |
4561 | 4637 | http-errors@1.7.2: |
4562 | 4638 | version "1.7.2" |
4563 | 4639 | resolved "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f" |
... | ... | @@ -4569,7 +4645,7 @@ http-errors@1.7.2: |
4569 | 4645 | statuses ">= 1.5.0 < 2" |
4570 | 4646 | toidentifier "1.0.0" |
4571 | 4647 | |
4572 | -http-errors@^1.7.3: | |
4648 | +http-errors@^1.6.3, http-errors@^1.7.3: | |
4573 | 4649 | version "1.8.0" |
4574 | 4650 | resolved "https://registry.npmjs.org/http-errors/-/http-errors-1.8.0.tgz#75d1bbe497e1044f51e4ee9e704a62f28d336507" |
4575 | 4651 | integrity sha512-4I8r0C5JDhT5VkvI47QktDW75rNlGVsUf/8hzjCC/wkWI/jdTRmBb9aI7erSG82r1bjKY3F6k28WnsVxB1C73A== |
... | ... | @@ -4590,6 +4666,17 @@ http-errors@~1.6.2: |
4590 | 4666 | setprototypeof "1.1.0" |
4591 | 4667 | statuses ">= 1.4.0 < 2" |
4592 | 4668 | |
4669 | +http-errors@~1.7.2: | |
4670 | + version "1.7.3" | |
4671 | + resolved "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06" | |
4672 | + integrity sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw== | |
4673 | + dependencies: | |
4674 | + depd "~1.1.2" | |
4675 | + inherits "2.0.4" | |
4676 | + setprototypeof "1.1.1" | |
4677 | + statuses ">= 1.5.0 < 2" | |
4678 | + toidentifier "1.0.0" | |
4679 | + | |
4593 | 4680 | https-proxy-agent@^5.0.0: |
4594 | 4681 | version "5.0.0" |
4595 | 4682 | resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" |
... | ... | @@ -4875,6 +4962,11 @@ is-fullwidth-code-point@^3.0.0: |
4875 | 4962 | resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" |
4876 | 4963 | integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== |
4877 | 4964 | |
4965 | +is-generator-function@^1.0.7: | |
4966 | + version "1.0.8" | |
4967 | + resolved "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.8.tgz#dfb5c2b120e02b0a8d9d2c6806cd5621aa922f7b" | |
4968 | + integrity sha512-2Omr/twNtufVZFr1GhxjOMFPAj2sjc/dKaIqBhvo4qciXfJmITGH6ZGd8eZYNHza8t1y0e01AuqRhJwfWp26WQ== | |
4969 | + | |
4878 | 4970 | is-glob@^4.0.0, is-glob@^4.0.1, is-glob@~4.0.1: |
4879 | 4971 | version "4.0.1" |
4880 | 4972 | resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" |
... | ... | @@ -5124,6 +5216,13 @@ jsonparse@^1.2.0: |
5124 | 5216 | resolved "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" |
5125 | 5217 | integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA= |
5126 | 5218 | |
5219 | +keygrip@~1.1.0: | |
5220 | + version "1.1.0" | |
5221 | + resolved "https://registry.npmjs.org/keygrip/-/keygrip-1.1.0.tgz#871b1681d5e159c62a445b0c74b615e0917e7226" | |
5222 | + integrity sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ== | |
5223 | + dependencies: | |
5224 | + tsscmp "1.0.6" | |
5225 | + | |
5127 | 5226 | kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: |
5128 | 5227 | version "3.2.2" |
5129 | 5228 | resolved "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" |
... | ... | @@ -5153,6 +5252,26 @@ known-css-properties@^0.20.0: |
5153 | 5252 | resolved "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.20.0.tgz#0570831661b47dd835293218381166090ff60e96" |
5154 | 5253 | integrity sha512-URvsjaA9ypfreqJ2/ylDr5MUERhJZ+DhguoWRr2xgS5C7aGCalXo+ewL+GixgKBfhT2vuL02nbIgNGqVWgTOYw== |
5155 | 5254 | |
5255 | +koa-compose@^3.0.0: | |
5256 | + version "3.2.1" | |
5257 | + resolved "https://registry.npmjs.org/koa-compose/-/koa-compose-3.2.1.tgz#a85ccb40b7d986d8e5a345b3a1ace8eabcf54de7" | |
5258 | + integrity sha1-qFzLQLfZhtjlo0Wzoazo6rz1Tec= | |
5259 | + dependencies: | |
5260 | + any-promise "^1.1.0" | |
5261 | + | |
5262 | +koa-compose@^4.1.0: | |
5263 | + version "4.1.0" | |
5264 | + resolved "https://registry.npmjs.org/koa-compose/-/koa-compose-4.1.0.tgz#507306b9371901db41121c812e923d0d67d3e877" | |
5265 | + integrity sha512-8ODW8TrDuMYvXRwra/Kh7/rJo9BtOfPc6qO8eAfC80CnCvSjSl0bkRM24X6/XBBEyj0v1nRUQ1LyOy3dbqOWXw== | |
5266 | + | |
5267 | +koa-convert@^1.2.0: | |
5268 | + version "1.2.0" | |
5269 | + resolved "https://registry.npmjs.org/koa-convert/-/koa-convert-1.2.0.tgz#da40875df49de0539098d1700b50820cebcd21d0" | |
5270 | + integrity sha1-2kCHXfSd4FOQmNFwC1CCDOvNIdA= | |
5271 | + dependencies: | |
5272 | + co "^4.6.0" | |
5273 | + koa-compose "^3.0.0" | |
5274 | + | |
5156 | 5275 | koa-send@^5.0.0: |
5157 | 5276 | version "5.0.1" |
5158 | 5277 | resolved "https://registry.npmjs.org/koa-send/-/koa-send-5.0.1.tgz#39dceebfafb395d0d60beaffba3a70b4f543fe79" |
... | ... | @@ -5170,6 +5289,35 @@ koa-static@^5.0.0: |
5170 | 5289 | debug "^3.1.0" |
5171 | 5290 | koa-send "^5.0.0" |
5172 | 5291 | |
5292 | +koa@^2.13.1: | |
5293 | + version "2.13.1" | |
5294 | + resolved "https://registry.npmjs.org/koa/-/koa-2.13.1.tgz#6275172875b27bcfe1d454356a5b6b9f5a9b1051" | |
5295 | + integrity sha512-Lb2Dloc72auj5vK4X4qqL7B5jyDPQaZucc9sR/71byg7ryoD1NCaCm63CShk9ID9quQvDEi1bGR/iGjCG7As3w== | |
5296 | + dependencies: | |
5297 | + accepts "^1.3.5" | |
5298 | + cache-content-type "^1.0.0" | |
5299 | + content-disposition "~0.5.2" | |
5300 | + content-type "^1.0.4" | |
5301 | + cookies "~0.8.0" | |
5302 | + debug "~3.1.0" | |
5303 | + delegates "^1.0.0" | |
5304 | + depd "^2.0.0" | |
5305 | + destroy "^1.0.4" | |
5306 | + encodeurl "^1.0.2" | |
5307 | + escape-html "^1.0.3" | |
5308 | + fresh "~0.5.2" | |
5309 | + http-assert "^1.3.0" | |
5310 | + http-errors "^1.6.3" | |
5311 | + is-generator-function "^1.0.7" | |
5312 | + koa-compose "^4.1.0" | |
5313 | + koa-convert "^1.2.0" | |
5314 | + on-finished "^2.3.0" | |
5315 | + only "~0.0.2" | |
5316 | + parseurl "^1.3.2" | |
5317 | + statuses "^1.5.0" | |
5318 | + type-is "^1.6.16" | |
5319 | + vary "^1.1.2" | |
5320 | + | |
5173 | 5321 | less@^4.1.0: |
5174 | 5322 | version "4.1.0" |
5175 | 5323 | resolved "https://registry.npmjs.org/less/-/less-4.1.0.tgz#a12708d1951239db1c9d7eaa405f1ebac9a75b8d" |
... | ... | @@ -5608,6 +5756,18 @@ mime-db@1.44.0: |
5608 | 5756 | resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92" |
5609 | 5757 | integrity sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg== |
5610 | 5758 | |
5759 | +mime-db@1.45.0: | |
5760 | + version "1.45.0" | |
5761 | + resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.45.0.tgz#cceeda21ccd7c3a745eba2decd55d4b73e7879ea" | |
5762 | + integrity sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w== | |
5763 | + | |
5764 | +mime-types@^2.1.18: | |
5765 | + version "2.1.28" | |
5766 | + resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.28.tgz#1160c4757eab2c5363888e005273ecf79d2a0ecd" | |
5767 | + integrity sha512-0TO2yJ5YHYr7M2zzT7gDU1tbwHxEUWBCLt0lscSNpcdAfFyJOVEpRYNS7EXVcTLNj/25QO8gulHC5JtTzSE2UQ== | |
5768 | + dependencies: | |
5769 | + mime-db "1.45.0" | |
5770 | + | |
5611 | 5771 | mime-types@~2.1.24: |
5612 | 5772 | version "2.1.27" |
5613 | 5773 | resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz#47949f98e279ea53119f5722e0f34e529bec009f" |
... | ... | @@ -5766,6 +5926,11 @@ needle@^2.5.2: |
5766 | 5926 | iconv-lite "^0.4.4" |
5767 | 5927 | sax "^1.2.4" |
5768 | 5928 | |
5929 | +negotiator@0.6.2: | |
5930 | + version "0.6.2" | |
5931 | + resolved "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" | |
5932 | + integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== | |
5933 | + | |
5769 | 5934 | neo-async@^2.6.0: |
5770 | 5935 | version "2.6.2" |
5771 | 5936 | resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" |
... | ... | @@ -5911,7 +6076,7 @@ omit.js@^2.0.0: |
5911 | 6076 | resolved "https://registry.npmjs.org/omit.js/-/omit.js-2.0.2.tgz#dd9b8436fab947a5f3ff214cb2538631e313ec2f" |
5912 | 6077 | integrity sha512-hJmu9D+bNB40YpL9jYebQl4lsTW6yEHRTroJzNLqQJYHm7c+NQnJGfZmIWh8S3q3KoaxV1aLhV6B3+0N0/kyJg== |
5913 | 6078 | |
5914 | -on-finished@~2.3.0: | |
6079 | +on-finished@^2.3.0, on-finished@~2.3.0: | |
5915 | 6080 | version "2.3.0" |
5916 | 6081 | resolved "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" |
5917 | 6082 | integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc= |
... | ... | @@ -5939,6 +6104,11 @@ onetime@^5.1.0: |
5939 | 6104 | dependencies: |
5940 | 6105 | mimic-fn "^2.1.0" |
5941 | 6106 | |
6107 | +only@~0.0.2: | |
6108 | + version "0.0.2" | |
6109 | + resolved "https://registry.npmjs.org/only/-/only-0.0.2.tgz#2afde84d03e50b9a8edc444e30610a70295edfb4" | |
6110 | + integrity sha1-Kv3oTQPlC5qO3EROMGEKcCle37Q= | |
6111 | + | |
5942 | 6112 | open@^7.0.3: |
5943 | 6113 | version "7.3.0" |
5944 | 6114 | resolved "https://registry.npmjs.org/open/-/open-7.3.0.tgz#45461fdee46444f3645b6e14eb3ca94b82e1be69" |
... | ... | @@ -6119,7 +6289,7 @@ parse5@^6.0.1: |
6119 | 6289 | resolved "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" |
6120 | 6290 | integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== |
6121 | 6291 | |
6122 | -parseurl@~1.3.3: | |
6292 | +parseurl@^1.3.2, parseurl@~1.3.3: | |
6123 | 6293 | version "1.3.3" |
6124 | 6294 | resolved "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" |
6125 | 6295 | integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== |
... | ... | @@ -6940,16 +7110,16 @@ rxjs@^6.4.0, rxjs@^6.6.3: |
6940 | 7110 | dependencies: |
6941 | 7111 | tslib "^1.9.0" |
6942 | 7112 | |
7113 | +safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: | |
7114 | + version "5.1.2" | |
7115 | + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" | |
7116 | + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== | |
7117 | + | |
6943 | 7118 | safe-buffer@^5.1.0, safe-buffer@~5.2.0: |
6944 | 7119 | version "5.2.1" |
6945 | 7120 | resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" |
6946 | 7121 | integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== |
6947 | 7122 | |
6948 | -safe-buffer@~5.1.0, safe-buffer@~5.1.1: | |
6949 | - version "5.1.2" | |
6950 | - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" | |
6951 | - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== | |
6952 | - | |
6953 | 7123 | safe-regex@^1.1.0: |
6954 | 7124 | version "1.1.0" |
6955 | 7125 | resolved "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" |
... | ... | @@ -7270,7 +7440,7 @@ static-extend@^0.1.1: |
7270 | 7440 | define-property "^0.2.5" |
7271 | 7441 | object-copy "^0.1.0" |
7272 | 7442 | |
7273 | -"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2", statuses@~1.5.0: | |
7443 | +"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2", statuses@^1.5.0, statuses@~1.5.0: | |
7274 | 7444 | version "1.5.0" |
7275 | 7445 | resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" |
7276 | 7446 | integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= |
... | ... | @@ -7780,6 +7950,11 @@ tslib@^2.0.3: |
7780 | 7950 | resolved "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz#8e0741ac45fc0c226e58a17bfc3e64b9bc6ca61c" |
7781 | 7951 | integrity sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ== |
7782 | 7952 | |
7953 | +tsscmp@1.0.6: | |
7954 | + version "1.0.6" | |
7955 | + resolved "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz#85b99583ac3589ec4bfef825b5000aa911d605eb" | |
7956 | + integrity sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA== | |
7957 | + | |
7783 | 7958 | tsutils@^3.17.1: |
7784 | 7959 | version "3.17.1" |
7785 | 7960 | resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759" |
... | ... | @@ -7819,7 +7994,7 @@ type-fest@^0.8.1: |
7819 | 7994 | resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" |
7820 | 7995 | integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== |
7821 | 7996 | |
7822 | -type-is@~1.6.17: | |
7997 | +type-is@^1.6.16, type-is@~1.6.17: | |
7823 | 7998 | version "1.6.18" |
7824 | 7999 | resolved "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" |
7825 | 8000 | integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== |
... | ... | @@ -8017,6 +8192,11 @@ validate-npm-package-license@^3.0.1: |
8017 | 8192 | spdx-correct "^3.0.0" |
8018 | 8193 | spdx-expression-parse "^3.0.0" |
8019 | 8194 | |
8195 | +vary@^1.1.2: | |
8196 | + version "1.1.2" | |
8197 | + resolved "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" | |
8198 | + integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= | |
8199 | + | |
8020 | 8200 | vditor@^3.7.6: |
8021 | 8201 | version "3.7.6" |
8022 | 8202 | resolved "https://registry.npmjs.org/vditor/-/vditor-3.7.6.tgz#b6d9574a46836cffef05d030154526ee7113925e" |
... | ... | @@ -8551,6 +8731,11 @@ yargs@^16.0.3, yargs@^16.2.0: |
8551 | 8731 | y18n "^5.0.5" |
8552 | 8732 | yargs-parser "^20.2.2" |
8553 | 8733 | |
8734 | +ylru@^1.2.0: | |
8735 | + version "1.2.1" | |
8736 | + resolved "https://registry.npmjs.org/ylru/-/ylru-1.2.1.tgz#f576b63341547989c1de7ba288760923b27fe84f" | |
8737 | + integrity sha512-faQrqNMzcPCHGVC2aaOINk13K+aaBDUPjGWl0teOXywElLjyVAB6Oe2jj62jHYtwsU49jXhScYbvPENK+6zAvQ== | |
8738 | + | |
8554 | 8739 | yn@3.1.1: |
8555 | 8740 | version "3.1.1" |
8556 | 8741 | resolved "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" | ... | ... |