138 lines
4.5 KiB
Markdown
138 lines
4.5 KiB
Markdown
<div align="center">
|
||
<img src="https://i.loli.net/2021/11/24/x5lLfuSnEawBAgi.png"/>
|
||
<h1>Soybean Admin</h1>
|
||
</div>
|
||
|
||
[](./LICENSE)
|
||
|
||
## 简介
|
||
|
||
Soybean Admin 是一个基于 Vue3、Vite、TypeScript、Naive UI 的免费中后台模版,它使用了最新的前端技术栈,内置丰富的主题配置,有着极高的代码规范,基于mock实现的动态权限路由,开箱即用的中后台前端解决方案,也可用于学习参考。
|
||
|
||
## 特性
|
||
|
||
- **最新技术栈**:使用 Vue3/vite2 等前端前沿技术开发, 使用高效率的npm包管理器pnpm
|
||
- **TypeScript**: 应用程序级 JavaScript 的语言
|
||
- **主题**:丰富可配置的主题、暗黑模式,基于windicss的动态主题颜色
|
||
- **代码规范**:丰富的规范插件及极高的代码规范
|
||
- **权限路由**:简易的路由配置、基于mock的动态路由能快速实现后端动态路由
|
||
- **请求函数**:基于axios的完善的请求函数封装,提供Promise和hooks两种请求函数
|
||
|
||
## 预览
|
||
|
||
- [soybean-admin](https://soybean.pro/)
|
||
|
||
## 文档
|
||
|
||
- [项目文档](https://docs.soybean.pro)
|
||
|
||
## 代码仓库
|
||
|
||
- [github](https://github.com/honghuangdc/soybean-admin)
|
||
|
||
- [gitee](https://gitee.com/honghuangdc/soybean-admin)
|
||
|
||
## 项目示例图
|
||
|
||

|
||
|
||

|
||
|
||

|
||
|
||

|
||
|
||

|
||
|
||

|
||
|
||

|
||
|
||
## 开发计划
|
||
|
||
- [ ] 示例页面完善
|
||
- [ ] 表单、表格示例
|
||
- [ ] 添加锁屏组件、全局Iframe组件
|
||
- [ ] 用户角色切换示例、按钮级别权限指令
|
||
- [ ] 性能优化(优化递归函数)
|
||
- [ ] element-plus版本
|
||
- [ ] 其他UI版本
|
||
- [ ] soybean-admin cli工具(选择不同UI)
|
||
- [ ] 前端可视化创建路由页面
|
||
- [ ] soybean-admin 后台nodejs服务
|
||
|
||
## 安装使用
|
||
|
||
- 克隆代码
|
||
|
||
```bash
|
||
git clone https://github.com/honghuangdc/soybean-admin.git
|
||
```
|
||
|
||
- 安装依赖
|
||
|
||
```bash
|
||
pnpm i
|
||
```
|
||
|
||
- 运行
|
||
|
||
```bash
|
||
pnpm dev
|
||
```
|
||
|
||
- 打包
|
||
|
||
```bash
|
||
pnpm build
|
||
```
|
||
|
||
## 如何贡献
|
||
|
||
非常欢迎您的加入 或者提交一个 Pull Request。
|
||
|
||
## Git 贡献提交规范
|
||
|
||
项目已经内置angular提交规范,通过git cz 代替git commit 命令即可。
|
||
|
||
git cz命令需要全局安装 commitizen
|
||
|
||
```bash
|
||
pnpm i -g commitizen
|
||
```
|
||
|
||
## 浏览器支持
|
||
|
||
本地开发推荐使用`Chrome 90+` 浏览器
|
||
|
||
支持现代浏览器, 不支持 IE
|
||
|
||
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png" alt="IE" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)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/)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/)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/)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/)Safari |
|
||
| :-: | :-: | :-: | :-: | :-: |
|
||
| not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
|
||
|
||
## 开源作者
|
||
|
||
[@Soybean](https://github.com/honghuangdc)
|
||
|
||
## 交流
|
||
|
||
`Soybean Admin` 是完全开源免费的项目,在帮助开发者更方便地进行中大型管理系统开发,同时也提供微信和QQ交流群,使用问题欢迎在群内提问。
|
||
|
||
- 微信交流群:
|
||
<div style="text-align:left">
|
||
<img src="https://s2.loli.net/2022/03/06/4wokvQ7R5B62Ei1.jpg" style="width:200px" />
|
||
</div>
|
||
|
||
- QQ交流群 `711301266`
|
||
|
||
<div style="text-align:left">
|
||
<img src="https://i.loli.net/2021/11/24/1J6REWXiHomU2kM.jpg" style="width:200px" />
|
||
</div>
|
||
|
||
- 本人微信号:honghuangdc,欢迎来技术交流,业务咨询。
|
||
|
||
## License
|
||
|
||
[MIT © Soybean-2021](./LICENSE)
|