File tree 4 files changed +14
-14
lines changed
4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1
- # :wave : 介绍
1
+ # :wave : 介绍 {#intro}
2
2
3
3
[ EasyTemplate] ( https://github.com/easy-temps ) 是一个基于 [ Vue 3] ( https://cn.vuejs.org/ ) 生态系统的开源模板组织,旨在构建开箱即用的移动、中后台模板,帮助你快速完成业务开发。所有模板全部采用 ` ECMAScript ` 模块(ESM)规范来编写和组织代码,使用了最新的 ` Vue3 ` 、` Vite5 ` 、` TypeScript ` 、` Pinia ` 、` Unocss ` 等主流技术开发,其中每个模板因使用场景不同,也有各自的生态,这一点请看具体模板的介绍。
4
4
5
- ## :pencil : 进展
5
+ ## :pencil : 进展 {#plan}
6
6
7
7
目前,[ vue3-vant-mobile] ( https://github.com/easy-temps/vue3-vant-mobile ) 和 [ vue3-varlet-mobile] ( https://github.com/easy-temps/vue3-varlet-mobile ) 移动模板已经稳定可用,作者正在计划实现 [ v3] ( https://github.com/easy-temps/vue3-vant-mobile/issues/84 ) 版本;同时针对 ` SSR ` 场景,[ nuxt3-vant-mobile] ( https://github.com/easy-temps/nuxt3-vant-mobile ) 也在实现中。作者计划2024年8月份完成所有移动模板的实现,后面主要关注两个中后台模板项目,分别是[ vue3-antdv-admin] ( https://github.com/easy-temps/vue3-antdv-admin ) 和 [ vue3-element-admin] ( https://github.com/easy-temps/vue3-element-admin ) ,这两个中后台模板的功能设计除了现在模板生态里面常见功能外,作者还计划实现工作流审批、低代码设计平台等高级功能特性。敬请期待!
Original file line number Diff line number Diff line change 2
2
title : 目录结构
3
3
---
4
4
5
- # :open_book : 目录结构
5
+ # :open_book : 目录结构 {#directory}
6
6
7
7
模板文件结构说明。
8
8
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ description: 如何使用图标
4
4
outline : deep
5
5
---
6
6
7
- # :tada : 图标
7
+ # :tada : 图标 {#icons}
8
8
9
9
图标是文字的隐喻,可以实现视觉引导和功能划分。
10
10
11
- ## 内置图标
11
+ ## 内置图标 {#built-in-icons}
12
12
13
13
内置图标是模板预先提供好的,开发者可以直接使用。模板默认以 [ Vant] ( https://github.com/youzan/vant ) 作为移动端组件库,它提供了基于字体的图标集 [ Icon] ( https://vant-ui.github.io/vant/#/zh-CN/icon ) 组件。
14
14
@@ -20,13 +20,13 @@ outline: deep
20
20
21
21
大部分时候,内置的图标无法满足我们的需求场景,这就需要引入外部图标集。
22
22
23
- ## 外部图标
23
+ ## 外部图标 {#external-icons}
24
24
25
25
我们推荐 [ iconify] ( https://iconify.design/ ) 。它是统一的图标框架,超过 ` 150 ` 多个图标集,和 ` 200,000 ` 个开源矢量图标,并且会定期更新图标。您可以在 [ iconify] ( https://icon-sets.iconify.design/ ) 或者 [ icones] ( https://icones.js.org/ ) 中看到所有的图标集。
26
26
27
27
使用 ` iconify ` 有多种方式,我们模板使用 [ CSS icon] ( https://antfu.me/posts/icons-in-pure-css ) 方案,此方案由 ` @unocss/preset-icons ` 提供支持,可以很好的和 [ Unocss] ( https://unocss.dev/ ) 配合使用。
28
28
29
- ### 安装和使用
29
+ ### 安装和使用 {#install-use}
30
30
31
31
假设我们用到 [ carbon] ( https://icones.js.org/collection/carbon ) 图标集,首先安装它。
32
32
@@ -62,6 +62,6 @@ outline: deep
62
62
63
63
:::
64
64
65
- ### 图标插件
65
+ ### 图标插件 {#icon-plugin}
66
66
67
67
VSCode 用户,推荐安装 [ antfu.iconify] ( https://marketplace.visualstudio.com/items?itemName=antfu.iconify ) 插件。它可以高亮图标的显示和自动完成。
Original file line number Diff line number Diff line change @@ -3,19 +3,19 @@ title: 介绍
3
3
description : 一个基于 Vue 3 生态系统的移动 web 应用模板,帮助你快速完成业务开发
4
4
---
5
5
6
- # 介绍
6
+ # 介绍 {#intro}
7
7
8
8
[ vue3-vant-mobile] ( https://github.com/easy-temps/vue3-vant-mobile ) 是一款开源免费且开箱即用的移动模版,完全采用 ` ECMAScript ` 模块(` ESM ` )规范来编写和组织代码,使用了最新的 ` Vue3 ` 、` Vite ` 、` Vant ` 、` TypeScript ` 、` Pinia ` 、` Unocss ` 等主流技术开发。我们还提供了业务当中常用的组件,例如:` Dark Mode ` 、` i18n ` 、` Mock ` 、` ECharts ` 、` Pinia ` 持久化、` KeepAlive ` 等示例。总之,开发者借助这个模板,可以继续向上构建自己的业务场景,快速完成开发工作。
9
9
10
- ## 在线预览
10
+ ## 在线预览 {#preview}
11
11
12
12
:point_right : [ Live Demo] ( https://vue3-vant-mobile.netlify.app/ )
13
13
14
14
[ ![ Netlify Status] ( https://api.netlify.com/api/v1/badges/e6828bd2-2904-4c3e-a67c-b97d32aa1275/deploy-status )] ( https://app.netlify.com/sites/vue3-vant-mobile/deploys )
15
15
16
- ## 预配置
16
+ ## 预配置 {#preset}
17
17
18
- ### UI 框架
18
+ ### UI 框架 {#ui}
19
19
20
20
- [ UnoCSS] ( https://github.com/antfu/unocss ) - 高性能且极具灵活性的即时原子化 CSS 引擎
21
21
- [ @unocss/preset-rem-to-px ] ( https://github.com/unocss/unocss/tree/main/packages/preset-rem-to-px ) - 将所有实用程序的 rem 转换为 px
@@ -24,7 +24,7 @@ description: 一个基于 Vue 3 生态系统的移动 web 应用模板,帮助
24
24
- [ vant-touch-emulator] ( https://github.com/youzan/vant/tree/main/packages/vant-touch-emulator ) - 在桌面端上模拟移动端 touch 事件
25
25
- [ vant-use] ( https://github.com/youzan/vant/tree/main/packages/vant-use ) - Vant 内置的组合式 API
26
26
27
- ### 插件
27
+ ### 插件 {#plugins}
28
28
29
29
- [ Vue Router] ( https://github.com/vuejs/router )
30
30
- [ unplugin-vue-router] ( https://github.com/posva/unplugin-vue-router ) - 以文件系统为基础的路由
@@ -43,7 +43,7 @@ description: 一个基于 Vue 3 生态系统的移动 web 应用模板,帮助
43
43
- [ vite-plugin-pwa] ( https://github.com/antfu/vite-plugin-pwa ) - PWA
44
44
- [ vite-plugin-sitemap] ( https://github.com/jbaubree/vite-plugin-sitemap ) - sitemap 和 robots 生成器
45
45
46
- ## 问题反馈
46
+ ## 问题反馈 {#feedback}
47
47
48
48
我们推荐使用 [ 议题] ( https://github.com/easy-temps/vue3-vant-mobile/issues ) 来反馈问题, 或者您也可以通过微信群联系我们。
49
49
You can’t perform that action at this time.
0 commit comments