Skip to content

Commit 08dfe8e

Browse files
author
sunss
committed
docs: update readme
1 parent e37f2f6 commit 08dfe8e

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

README.md

+14-12
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@
2121
- ✊依赖按需加载:**unplugin-auto-import**,可自动导入使用到的`vue``vue-router`等依赖
2222
- 💪组件按需导入:**unplugin-vue-components**,无论是第三方UI组件还是自定义组件都可实现自动按需导入以及`TS`语法提示
2323

24-
## 计划
25-
26-
- [ ] 主题换肤功能
27-
- [ ] 引入 `tailwindcss`
28-
- [ ] `ant-design-vue` 升级到 3.x版本
29-
- [x] 调整环境变量配置为 `.env`/`.env.development`/`.env.production`
30-
3124
## 项目目录
3225

3326
```js
@@ -80,17 +73,26 @@
8073
└── vite.config.ts // vite
8174
```
8275

76+
## 效果图
77+
78+
![vite-vue3-3](https://cdn.jsdelivr.net/gh/JS-banana/images/vuepress/vite-vue3-3.jpg)
79+
80+
![vite-vue3-4](https://cdn.jsdelivr.net/gh/JS-banana/images/vuepress/vite-vue3-4.jpg)
81+
8382
## 更新记录
8483

84+
- 2022.01.18
85+
- 增加环境变量配置文件 `.env`/`.env.development`/`.env.production`
8586
- 2022.03.09
8687
- 为了优化服务器构建,移除 `auto-imports.d.ts``components.d.ts`的git记录,加入`.gitignore`
87-
- 域名二级目录的路由配置优化 `history: createWebHashHistory(import.meta.env.BASE_URL)`
88+
- 域名二级目录的路由配置优化 `history: createWebHistory(import.meta.env.BASE_URL)`
89+
- 路由模式由 hash调整为 history
8890

89-
## 效果图
90-
91-
![vite-vue3-3](https://cdn.jsdelivr.net/gh/JS-banana/images/vuepress/vite-vue3-3.jpg)
91+
## 计划
9292

93-
![vite-vue3-4](https://cdn.jsdelivr.net/gh/JS-banana/images/vuepress/vite-vue3-4.jpg)
93+
- [ ] 主题换肤功能
94+
- [ ] 引入 `tailwindcss`
95+
- [ ] `ant-design-vue` 升级到 3.x版本
9496

9597
## Stats
9698

0 commit comments

Comments
 (0)