# bms2
**Repository Path**: Mr-Smile/bms2
## Basic Information
- **Project Name**: bms2
- **Description**: 本架构使用的技术为:vue3(setup-script)+vite2+element-plus 的新一代的前端框架
使用 Eslint + Prettier + Husky + Commitlint+ Lint-staged,提高代码规范性和开发效率
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2022-04-28
- **Last Updated**: 2022-06-23
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# vue3-admin-ts
本架构使用的技术为:vue3(setup-script)+vite2+element-plus 的新一代的前端框架
使用 Eslint + Prettier + Husky + Commitlint+ Lint-staged,提高代码规范性和开发效率
## 构建步骤
```bash
# 克隆项目
git clone https://github.com/jzfai/vue3-admin-ts.git
# 进入项目目录
cd vue3-admin-ts
# 安装依赖(建议用pnpm)
# 你可以运行npm i -g pnpm 去安装pnpm
pnpm i
# 启动服务
pnpm run dev
```
浏览器访问 http://localhost:5001
## 发布
```bash
# 构建测试环境
pnpm run build-test
# 构建生产环境
pnpm run build
```
## 其它
```bash
# 预览生产环境
pnpm run preview
# 代码格式检查并自动修复
pnpm run lint
```
## 代码提交
```bash
# 因为使用了 husky + commitlint 检查提交描述是否符合规范要求,所以提交代码应该使用 yarn commit 而不是 git commit
git commit → yarn commit
```
## 浏览器支持
注意:vue3不在支持IE浏览器
Modern browsers and Internet Explorer 11+.
| [
](http://godban.github.io/browsers-support-badges/)IE / Edge | [
](http://godban.github.io/browsers-support-badges/)Firefox | [
](http://godban.github.io/browsers-support-badges/)Chrome | [
](http://godban.github.io/browsers-support-badges/)Safari |
| --------- | --------- | --------- | --------- |
|Edge| last 2 versions| last 2 versions| last 2 versions
## 项目用到的相关技术文档地址
[vue3](https://staging-cn.vuejs.org/guide/introduction.html)
[element-plus](https://element-plus.gitee.io/zh-CN/component/button.html)
[vxe-table](https://vxetable.cn/#/grid/api)
[带你用vue3+vite2撸后台(系列文章入口)](https://juejin.cn/post/7036302298435289095)