|
@ -9,18 +9,18 @@ Vue2.7 已经发布正式版啦,不出意外的话这应该是 Vue2 的最后 |
|
|
## 教程目录 |
|
|
## 教程目录 |
|
|
|
|
|
|
|
|
1. 工程化实践 |
|
|
1. 工程化实践 |
|
|
- [Eslint 格式化 JS 代码](./docs/1.%E5%B7%A5%E7%A8%8B%E5%8C%96%E5%AE%9E%E8%B7%B5/1.%20eslint.md) |
|
|
|
|
|
- [Stylelint 格式化 CSS 代码](./docs/1.%E5%B7%A5%E7%A8%8B%E5%8C%96%E5%AE%9E%E8%B7%B5/2.%20stylelint.md) |
|
|
|
|
|
- [Husky 提交时自动格式化代码](./docs/1.%E5%B7%A5%E7%A8%8B%E5%8C%96%E5%AE%9E%E8%B7%B5/3.%20husky.md) |
|
|
|
|
|
- [Commitlint 校验 Commit Message](./docs/1.%E5%B7%A5%E7%A8%8B%E5%8C%96%E5%AE%9E%E8%B7%B5/4.%20commitlint.md) |
|
|
|
|
|
|
|
|
- [Eslint 格式化 JS 代码](./docs/1.%E5%B7%A5%E7%A8%8B%E5%8C%96%E5%AE%9E%E8%B7%B5/1.%20eslint.md) |
|
|
|
|
|
- [Stylelint 格式化 CSS 代码](./docs/1.%E5%B7%A5%E7%A8%8B%E5%8C%96%E5%AE%9E%E8%B7%B5/2.%20stylelint.md) |
|
|
|
|
|
- [Husky 提交时自动格式化代码](./docs/1.%E5%B7%A5%E7%A8%8B%E5%8C%96%E5%AE%9E%E8%B7%B5/3.%20husky.md) |
|
|
|
|
|
- [Commitlint 校验 Commit Message](./docs/1.%E5%B7%A5%E7%A8%8B%E5%8C%96%E5%AE%9E%E8%B7%B5/4.%20commitlint.md) |
|
|
2. 全家桶 |
|
|
2. 全家桶 |
|
|
- [路由 vue-router](./docs/2.%E5%85%A8%E5%AE%B6%E6%A1%B6/1.%20%E8%B7%AF%E7%94%B1.md) |
|
|
|
|
|
- [全局状态管理 pinia](./docs/2.%E5%85%A8%E5%AE%B6%E6%A1%B6/2.%20%E5%85%A8%E5%B1%80%E7%8A%B6%E6%80%81%E7%AE%A1%E7%90%86.md) |
|
|
|
|
|
- [组件库](./docs/2.%E5%85%A8%E5%AE%B6%E6%A1%B6/3.%20%E7%BB%84%E4%BB%B6%E5%BA%93.md) |
|
|
|
|
|
|
|
|
- [路由 vue-router](./docs/2.%E5%85%A8%E5%AE%B6%E6%A1%B6/1.%20%E8%B7%AF%E7%94%B1.md) |
|
|
|
|
|
- [全局状态管理 pinia](./docs/2.%E5%85%A8%E5%AE%B6%E6%A1%B6/2.%20%E5%85%A8%E5%B1%80%E7%8A%B6%E6%80%81%E7%AE%A1%E7%90%86.md) |
|
|
|
|
|
- [组件库](./docs/2.%E5%85%A8%E5%AE%B6%E6%A1%B6/3.%20%E7%BB%84%E4%BB%B6%E5%BA%93.md) |
|
|
3. 更多功能 |
|
|
3. 更多功能 |
|
|
- [Axios 封装及接口管理](./docs/3.%E6%9B%B4%E5%A4%9A%E5%8A%9F%E8%83%BD/1.%20Axios%20%E5%B0%81%E8%A3%85%E5%8F%8A%E6%8E%A5%E5%8F%A3%E7%AE%A1%E7%90%86.md) |
|
|
|
|
|
- [Css 样式处理](./docs/3.%E6%9B%B4%E5%A4%9A%E5%8A%9F%E8%83%BD/2.%20Css%20%E6%A0%B7%E5%BC%8F%E5%A4%84%E7%90%86.md) |
|
|
|
|
|
- [Vite 基础配置](./docs/3.%E6%9B%B4%E5%A4%9A%E5%8A%9F%E8%83%BD/3.%20Vite%20%E5%9F%BA%E7%A1%80%E9%85%8D%E7%BD%AE.md) |
|
|
|
|
|
|
|
|
- [Axios 封装及接口管理](./docs/3.%E6%9B%B4%E5%A4%9A%E5%8A%9F%E8%83%BD/1.%20Axios%20%E5%B0%81%E8%A3%85%E5%8F%8A%E6%8E%A5%E5%8F%A3%E7%AE%A1%E7%90%86.md) |
|
|
|
|
|
- [Css 样式处理](./docs/3.%E6%9B%B4%E5%A4%9A%E5%8A%9F%E8%83%BD/2.%20Css%20%E6%A0%B7%E5%BC%8F%E5%A4%84%E7%90%86.md) |
|
|
|
|
|
- [Vite 基础配置](./docs/3.%E6%9B%B4%E5%A4%9A%E5%8A%9F%E8%83%BD/3.%20Vite%20%E5%9F%BA%E7%A1%80%E9%85%8D%E7%BD%AE.md) |
|
|
|
|
|
|
|
|
## 基础搭建 |
|
|
## 基础搭建 |
|
|
|
|
|
|
|
@ -46,12 +46,10 @@ pnpm run preview |
|
|
> |
|
|
> |
|
|
> pnpm v6.30.0 |
|
|
> pnpm v6.30.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 插件安装 |
|
|
### 插件安装 |
|
|
|
|
|
|
|
|
此脚手架必须安以下依赖才能保证,代码自动格式化的有效运行: |
|
|
此脚手架必须安以下依赖才能保证,代码自动格式化的有效运行: |
|
|
|
|
|
|
|
|
- Vetur |
|
|
|
|
|
- EditorConfig for VS Code |
|
|
- EditorConfig for VS Code |
|
|
- ESLint |
|
|
- ESLint |
|
|
- Stylelint |
|
|
- Stylelint |
|
|