README.zh-CN.md 6.4 KB
Newer Older
V
Vben 已提交
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>
V
vben 已提交
2

V
Vben 已提交
3
[![license](https://img.shields.io/github/license/anncwb/vue-vben-admin.svg)](LICENSE)
V
vben 已提交
4

V
Vben 已提交
5 6
<h1>Vue vben admin</h1>
</div>
V
vben 已提交
7

V
Vben 已提交
8
**中文** | [English](./README.md)
V
vben 已提交
9

V
Vben 已提交
10
## 简介
V
vben 已提交
11

V
Vben 已提交
12
Vue Vben Admin 是一个免费开源的中后台模版。使用了最新的`vue3`,`vite2`,`TypeScript`等主流技术开发,开箱即用的中后台前端解决方案,也可用于学习参考。
V
vben 已提交
13

V
Vben 已提交
14
## 特性
V
vben 已提交
15

V
Vben 已提交
16 17 18 19 20 21 22
- **最新技术栈**:使用 Vue3/vite2 等前端前沿技术开发
- **TypeScript**: 应用程序级 JavaScript 的语言
- **主题**:可配置的主题
- **国际化**:内置完善的国际化方案
- **Mock 数据** 内置 Mock 数据方案
- **权限** 内置完善的动态路由权限生成方案
- **组件** 二次封装了多个常用的组件
V
vben 已提交
23

V
Vben 已提交
24
## 预览
V
vben 已提交
25

V
Vben 已提交
26 27 28 29
- [vue-vben-admin](https://vvbin.cn/next/) - 完整版中文站点
- [vue-vben-admin-gh-pages](https://anncwb.github.io/vue-vben-admin/) - 完整版 github 站点
- [vben-admin-thin-next](https://vvbin.cn/thin/next/) - 简化版中文站点
- [vben-admin-thin-gh-pages](https://anncwb.github.io/vben-admin-thin-next/) - 简化版 github 站点
V
vben 已提交
30 31 32 33

测试账号: vben/123456

<p align="center">
V
Vben 已提交
34 35 36
    <img alt="VbenAdmin Logo" width="100%" src="https://anncwb.github.io/anncwb/images/preview1.png">
    <img alt="VbenAdmin Logo" width="100%" src="https://anncwb.github.io/anncwb/images/preview2.png">
    <img alt="VbenAdmin Logo" width="100%" src="https://anncwb.github.io/anncwb/images/preview3.png">
V
vben 已提交
37 38
</p>

V
Vben 已提交
39
### 使用 Gitpod
V
vben 已提交
40

V
Vben 已提交
41
在 Gitpod(适用于 GitHub 的免费在线开发环境)中打开项目,并立即开始编码.
V
vben 已提交
42

V
Vben 已提交
43
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/anncwb/vue-vben-admin)
V
vben 已提交
44

V
Vben 已提交
45
## 文档
V
vben 已提交
46

V
Vben 已提交
47
[文档地址](https://vvbin.cn/doc-next/)
V
vben 已提交
48

V
Vben 已提交
49
## 准备
V
vben 已提交
50

V
Vben 已提交
51 52 53 54 55 56 57 58
- [node](http://nodejs.org/)[git](https://git-scm.com/) -项目开发环境
- [Vite](https://vitejs.dev/) - 熟悉 vite 特性
- [Vue3](https://v3.vuejs.org/) - 熟悉 Vue 基础语法
- [TypeScript](https://www.typescriptlang.org/) - 熟悉`TypeScript`基本语法
- [Es6+](http://es6.ruanyifeng.com/) - 熟悉 es6 基本语法
- [Vue-Router-Next](https://next.router.vuejs.org/) - 熟悉 vue-router 基本使用
- [Ant-Design-Vue](https://2x.antdv.com/docs/vue/introduce-cn/) - ui 基本使用
- [Mock.js](https://github.com/nuysoft/Mock) - mockjs 基本语法
V
vben 已提交
59

V
Vben 已提交
60
## 安装使用
V
vben 已提交
61

V
Vben 已提交
62
- 获取项目代码
V
vben 已提交
63

V
Vben 已提交
64 65 66
```bash
git clone https://github.com/anncwb/vue-vben-admin.git
```
V
vben 已提交
67

V
Vben 已提交
68
- 安装依赖
V
vben 已提交
69

V
Vben 已提交
70 71
```bash
cd vue-vben-admin
V
vben 已提交
72 73 74 75 76

yarn install

```

V
Vben 已提交
77
- 运行
V
vben 已提交
78 79 80 81 82

```bash
yarn serve
```

V
Vben 已提交
83
- 打包
V
vben 已提交
84 85

```bash
V
Vben 已提交
86
yarn build
V
vben 已提交
87 88
```

V
Vben 已提交
89
## 更新日志
V
vben 已提交
90

V
Vben 已提交
91
[CHANGELOG](./CHANGELOG.zh_CN.md)
V
vben 已提交
92

V
Vben 已提交
93
## 项目地址
V
vben 已提交
94

V
Vben 已提交
95 96
- [vue-vben-admin](https://github.com/anncwb/vue-vben-admin) - 完整版
- [vue-vben-admin-thin-next](https://github.com/anncwb/vben-admin-thin-next) - 简化版
V
vben 已提交
97

V
Vben 已提交
98
## 如何贡献
V
vben 已提交
99

V
Vben 已提交
100
非常欢迎你的加入![提一个 Issue](https://github.com/anncwb/vue-vben-admin/issues/new/choose) 或者提交一个 Pull Request。
V
vben 已提交
101

V
Vben 已提交
102
**Pull Request:**
V
vben 已提交
103

V
Vben 已提交
104 105 106 107 108
1. Fork 代码!
2. 创建自己的分支: `git checkout -b feat/xxxx`
3. 提交你的修改: `git commit -am 'feat(function): add xxxxx'`
4. 推送您的分支: `git push origin feat/xxxx`
5. 提交`pull request`
V
vben 已提交
109

V
Vben 已提交
110
## Git 贡献提交规范
V
vben 已提交
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127

- 参考 [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))

  - `feat` 增加新功能
  - `fix` 修复问题/BUG
  - `style` 代码风格相关无影响运行结果的
  - `perf` 优化/性能提升
  - `refactor` 重构
  - `revert` 撤销修改
  - `test` 测试相关
  - `docs` 文档/注释
  - `chore` 依赖更新/脚手架配置修改等
  - `workflow` 工作流改进
  - `ci` 持续集成
  - `types` 类型定义文件更改
  - `wip` 开发中

V
Vben 已提交
128
## 相关仓库
V
vben 已提交
129

V
Vben 已提交
130
如果这些插件对你有帮助,可以给一个 star 支持下
V
vben 已提交
131

V
Vben 已提交
132 133 134 135 136 137
- [vite-plugin-mock](https://github.com/anncwb/vite-plugin-mock) - 用于本地及开发环境数据 mock
- [vite-plugin-html](https://github.com/anncwb/vite-plugin-html) - 用于 html 模版转换及压缩
- [vite-plugin-style-import](https://github.com/anncwb/vite-plugin-style-import) - 用于组件库样式按需引入
- [vite-plugin-theme](https://github.com/anncwb/vite-plugin-theme) - 用于打包压缩图片资源
- [vite-plugin-imagemin](https://github.com/anncwb/vite-plugin-imagemin) - 用于在线切换主题色等颜色相关配置
- [vite-plugin-compression](https://github.com/anncwb/vite-plugin-compression) - 用于打包输入.gz|.brotil 文件
V
vben 已提交
138 139 140

## 浏览器支持

V
Vben 已提交
141
本地开发推荐使用`Chrome 80+` 浏览器
V
vben 已提交
142

V
Vben 已提交
143
支持现代浏览器, 不支持 IE
V
vben 已提交
144 145 146 147 148

| [<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 |
| :-: | :-: | :-: | :-: | :-: |
| not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions |

V
Vben 已提交
149
## 维护者
V
vben 已提交
150

V
Vben 已提交
151
[@Vben](https://github.com/anncwb)
V
vben 已提交
152

V
Vben 已提交
153 154 155
## 捐赠

如果你觉得这个项目对你有帮助,你可以帮作者买一杯咖啡表示支持!
V
vben 已提交
156

V
Vben 已提交
157
![donate](https://anncwb.github.io/anncwb/images/sponsor.png)
V
vben 已提交
158

V
Vben 已提交
159
[Paypal Me](https://www.paypal.com/paypalme/cvvben)
V
vben 已提交
160

V
Vben 已提交
161 162 163
## 交流

`Vue-vben-Admin` 是完全开源免费的项目,在帮助开发者更方便地进行中大型管理系统开发,同时也提供 QQ 交流群使用问题欢迎在群内提问。
V
vben 已提交
164 165 166

- QQ 群 `569291866`

V
Vben 已提交
167 168 169
## License

[MIT © Vben-2020](./LICENSE)