|
@@ -1,8 +1,5 @@
|
|
-
|
|
|
|
-
|
|
|
|
**中文** | [English](./README.md)
|
|
**中文** | [English](./README.md)
|
|
|
|
|
|
-
|
|
|
|
## 特性
|
|
## 特性
|
|
|
|
|
|
- **最新技术栈**:使用 Vue3/vite2 等前端前沿技术开发
|
|
- **最新技术栈**:使用 Vue3/vite2 等前端前沿技术开发
|
|
@@ -13,7 +10,6 @@
|
|
- **权限** 内置完善的动态路由权限生成方案
|
|
- **权限** 内置完善的动态路由权限生成方案
|
|
- **组件** 二次封装了多个常用的组件
|
|
- **组件** 二次封装了多个常用的组件
|
|
|
|
|
|
-
|
|
|
|
## 准备
|
|
## 准备
|
|
|
|
|
|
- [node](http://nodejs.org/) 和 [git](https://git-scm.com/) -项目开发环境
|
|
- [node](http://nodejs.org/) 和 [git](https://git-scm.com/) -项目开发环境
|
|
@@ -33,13 +29,13 @@
|
|
|
|
|
|
pnpm install
|
|
pnpm install
|
|
|
|
|
|
-```
|
|
|
|
|
|
+````
|
|
|
|
|
|
- 运行
|
|
- 运行
|
|
|
|
|
|
```bash
|
|
```bash
|
|
pnpm serve
|
|
pnpm serve
|
|
-```
|
|
|
|
|
|
+````
|
|
|
|
|
|
- 打包
|
|
- 打包
|
|
|
|
|
|
@@ -47,7 +43,6 @@ pnpm serve
|
|
pnpm build
|
|
pnpm build
|
|
```
|
|
```
|
|
|
|
|
|
-
|
|
|
|
## 更新日志
|
|
## 更新日志
|
|
|
|
|
|
[CHANGELOG](./CHANGELOG.zh_CN.md)
|
|
[CHANGELOG](./CHANGELOG.zh_CN.md)
|
|
@@ -64,28 +59,15 @@ pnpm build
|
|
**Pull Request:**
|
|
**Pull Request:**
|
|
|
|
|
|
1. Fork 代码!
|
|
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`
|
|
|
|
|
|
+2. 设置提交模板: `git config commit.template .github/commit-template`
|
|
|
|
+3. 创建自己的分支: `git checkout -b feat/xxxx`
|
|
|
|
+4. 提交你的修改: `git commit -am 'feat(function): add xxxxx'`
|
|
|
|
+5. 推送您的分支: `git push origin feat/xxxx`
|
|
|
|
+6. 提交`pull request`
|
|
|
|
|
|
## Git 贡献提交规范
|
|
## Git 贡献提交规范
|
|
|
|
|
|
-- 参考 [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` 开发中
|
|
|
|
|
|
+- 参考模板.github/commit-template
|
|
|
|
|
|
## 浏览器支持
|
|
## 浏览器支持
|
|
|
|
|
|
@@ -106,7 +88,6 @@ pnpm build
|
|
- [vite-plugin-compression](https://github.com/anncwb/vite-plugin-compression) - 用于打包输出.gz|.brotil 文件
|
|
- [vite-plugin-compression](https://github.com/anncwb/vite-plugin-compression) - 用于打包输出.gz|.brotil 文件
|
|
- [vite-plugin-svg-icons](https://github.com/anncwb/vite-plugin-svg-icons) - 用于快速生成 svg 雪碧图
|
|
- [vite-plugin-svg-icons](https://github.com/anncwb/vite-plugin-svg-icons) - 用于快速生成 svg 雪碧图
|
|
|
|
|
|
-
|
|
|
|
## 感谢
|
|
## 感谢
|
|
|
|
|
|
<img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png" alt="JetBrains Logo (Main) logo." height='120'>
|
|
<img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png" alt="JetBrains Logo (Main) logo." height='120'>
|