|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- ### 安装使用步骤 📔
-
- - **Clone:**
-
- ```text
- git clone https://gitea.51trust.net/front/acupuncture-moxibustion-admin
- ```
-
- - **Install:**
-
- ```text
- pnpm install
- ```
-
- - **Run:**
-
- ```text
- pnpm dev
- pnpm serve
- ```
-
- - **Build:**
-
- ```text
- # 开发环境
- pnpm build:dev
-
- # 测试环境
- pnpm build:test
-
- # 生产环境
- pnpm build:pro
- ```
-
- - **Lint:**
-
- ```text
- # eslint 检测代码
- pnpm lint:eslint
-
- # prettier 格式化代码
- pnpm lint:prettier
-
- # stylelint 格式化样式
- pnpm lint:stylelint
- ```
-
- - **commit:**
-
- ```text
- # 提交代码(提交前会自动执行 lint:lint-staged 命令)
- pnpm commit
- ```
|