vue3-template/README.md

61 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# vue3-template
使用vite构建的vue3项目基础模板
vue33.4.27
vue-router4.3.2
pinia2.1.7
element-plus2.7.5
store持久化存储[pinia-plugin-persistedstate](https://prazdevs.github.io/pinia-plugin-persistedstate/guide/config.html)3.2.1
mitt3.0.1
## Customize configuration
vite配置 [Vite Configuration Reference](https://vitejs.dev/config/).
## 安装依赖
```sh
npm install
```
### 运行dev服务
```sh
npm run dev
```
### 构建项目
```sh
npm run build
```
### [ESLint](https://eslint.org/)
```sh
npm run lint
```
## 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` 类型定义文件更改