Skip to content

Commit f4e18e9

Browse files
committed
docs: banner 图更换
1 parent 15de708 commit f4e18e9

File tree

3 files changed

+21
-19
lines changed

3 files changed

+21
-19
lines changed

README.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11

22

33
<div align="center">
4-
<img src="src/assets/logo_melomini.png" alt="logo_melomini" style="width:20%;" />
4+
<img src="docs/assets/img/banner.jpg" alt="banner" />
55
</div>
66

7+
78
<div align="center">
89
<a href="https://github.com/yulimchen/vue3-h5-template/blob/master/LICENSE">
910
<img src="https://img.shields.io/github/license/yulimchen/vue3-h5-template.svg?style=flat-square" alt="license">
@@ -20,7 +21,7 @@
2021
</div>
2122

2223

23-
<h1 align="center">Vue3 h5 template</h1>
24+
<h1 align="center">Vue3 H5 Template</h1>
2425

2526
**🌱 基于 Vue3 全家桶、TS/JS、Vite 构建工具,开箱即用的移动端项目基础模板**
2627

@@ -46,16 +47,11 @@
4647

4748
**主分支默认 TypeScript,如果你希望使用的是 JavaScript 语言,请切换 [js-version](https://github.com/yulimchen/vue3-h5-template/tree/js-version) 分支进行开发**
4849

49-
## 在线预览Preview
50-
51-
👓 [点击这里](https://yulimchen.github.io/vue3-h5-template/)(PC浏览器请切换手机端模式)
52-
53-
5450

5551

56-
## 截图
52+
## 在线预览 Preview
5753

58-
![](docs/assets/img/Snipaste_2023-05-04_21-52-10.png)
54+
👓 [点击这里](https://yulimchen.github.io/vue3-h5-template/)(PC浏览器请切换手机端模式)
5955

6056

6157

@@ -114,13 +110,13 @@ cd vue3-h5-template
114110
115111

116112

117-
### - <span id="vant">按需引入 vant 组件</span>
113+
### <span id="vant">按需引入 vant 组件</span>
118114

119115
全量引入组件库太过臃肿,项目中使用 `unplugin-vue-components` 插件进行按需自动引入组件,可通过[官方文档](https://vant-ui.github.io/vant/#/zh-CN/quickstart#2.-pei-zhi-cha-jian)了解更多。
120116

121117

122118

123-
### - <span id="icon">图标使用</span>
119+
### <span id="icon">图标使用</span>
124120

125121
**Iconify 图标(推荐)**
126122

@@ -189,7 +185,7 @@ import Fa6SolidHeart from "@iconify-icons/fa6-solid/heart";
189185
190186

191187

192-
### - <span id="router">路由缓存 & 命名注意 ⚠</span>
188+
### <span id="router">路由缓存 & 命名注意 ⚠</span>
193189

194190
组件默认开启缓存,如某个组件需关闭缓存,在对应路由 `meta` 内的 `noCache` 字段赋值为 `true` 即可。
195191

@@ -227,7 +223,7 @@ defineOptions({
227223

228224

229225

230-
### - <span id="console">调试面板 eruda</span>
226+
### <span id="console">调试面板 eruda</span>
231227

232228
![](docs/assets/img/Snipaste_2023-05-04_21-58-28.png)
233229

@@ -242,7 +238,7 @@ VITE_ENABLE_ERUDA = "true"
242238

243239

244240

245-
### - <span id="page-title">动态设置页面标题</span>
241+
### <span id="page-title">动态设置页面标题</span>
246242

247243
在路由全局前置守卫中:
248244

@@ -261,13 +257,13 @@ router.beforeEach((to: toRouteType, from, next) => {
261257

262258

263259

264-
### - <span id="mock">开发环境 Mock</span>
260+
### <span id="mock">开发环境 Mock</span>
265261

266262
> 本项目开发环境支持 mock 请求数据,在 `mock` 目录中可配置接口和数据,具体见[文档](https://github.com/pengzhanbo/vite-plugin-mock-dev-server/blob/main/README.zh-CN.md)
267263
268264

269265

270-
### - <span id="viewport">vw 视口适配</span>
266+
### <span id="viewport">vw 视口适配</span>
271267

272268
使用 `cnjm-postcss-px-to-viewport` 进行视口适配,相关配置见项目根目录下 `postcss.config.js`
273269

@@ -290,15 +286,15 @@ module.exports = {
290286

291287

292288

293-
### - <span id="tailwindcss">Tailwindcss 原子类框架</span>
289+
### <span id="tailwindcss">Tailwindcss 原子类框架</span>
294290

295291
Tailwindcss 从 3.0 版本开始默认使用 `JIT` 模式,打包代码不再臃肿,结合 `vite` 使用非常香~ 如果你还没使用过类似的框架,Tailwindcss 首页的[示例](https://tailwindcss.com/)非常直观。
296292

297293
官方文档:https://tailwindcss.com/docs/padding
298294

299295

300296

301-
### - <span id="git">Git 提交信息规范</span>
297+
### <span id="git">Git 提交信息规范</span>
302298

303299
项目使用 `husky` 规范 Git 提交信息,遵循社区主流的 [Angular](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular) 规范。
304300

@@ -327,12 +323,18 @@ feat(layout): 布局完成
327323

328324

329325

330-
### - <span id="CDN">CDN 生产环境依赖</span>
326+
### <span id="CDN">CDN 生产环境依赖</span>
331327

332328
本模板生产环境默认不开启 CDN 加载依赖,如需开启生产环境加载 CDN 依赖,在根目录生产环境变量文件 `.env.production` 中修改 `VITE_CDN_DEPS` 的值为 `true` 重新打包即可。
333329

334330

335331

332+
## 捐赠
333+
334+
![](docs/assets/img/donate.png)
335+
336+
337+
336338

337339
## 鸣谢
338340

docs/assets/img/banner.jpg

584 KB
Loading

docs/assets/img/donate.png

229 KB
Loading

0 commit comments

Comments
 (0)