Skip to content

Commit 340d034

Browse files
author
白唯
committed
docs(docs): 完善文档
1 parent f093fcc commit 340d034

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414
- 提交规范:git cz commitizen
1515
- 版本更改历史: changelog
1616
- 文档工具:typedoc
17-
- 代码检查:eslint+eslint-typescript,格式化:prettier.提交之前检查与修复:lint-staged"
17+
- 代码检查:eslint+eslint-typescript,格式化:prettier.提交之前检查与修复:lint-staged
1818
- 测试用例:mocha,ts-node
19-
- webpack 插件:style-resources-loader
19+
- webpack 插件:style-resources-loader(全局 less)webpack-bundle-analyzer(包分析工具) splitChunks(代码分离)
2020

2121
#### 代码基础架构说明
2222

2323
```
2424
|-- 根目录
25-
|-- @types 项目共用的 type
2625
|-- dist 项目 build 之后的文件夹
2726
|-- docs 文档生成的根目录位置
2827
|-- public 项目静态资源,不经过 webpack,以及默认的模版,适合存放第三方压缩好的资源
2928
|-- src 主要的开发目录
29+
| |-- @types 项目共用的 type
3030
| |-- App.vue 页面渲染根节点
3131
| |-- main.ts 入口文件
3232
| |-- shims-vue.d.ts vue 文件类型的 type
@@ -101,7 +101,7 @@
101101
#### 网络请求
102102

103103
- [x] 基于 axios 封装脱离具体业务逻辑的网络请求,支持编写脱离浏览器环境的测试用例.(跟业务无关)
104-
- [ ] 基于具体业务逻辑再次封装网络请求 (跟业务相关,此项需要依据具体后台应用接口编写)
104+
- [x] 基于具体业务逻辑再次封装网络请求 (跟业务相关,此项需要依据具体后台应用接口编写)
105105

106106
#### 数据状态管理
107107

@@ -184,6 +184,11 @@ npm run test-dev:api
184184
npm run test:api
185185
```
186186

187+
- 查看打包结果分析
188+
189+
```
190+
npm run analysis
191+
```
187192
### 更多问题
188193

189194
如果有问题,请提 issue 说明 => [传送门](https://github.com/ibwei/vue3-base).

0 commit comments

Comments
 (0)