forked from natuka/web.puabadge.com
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4.9 KiB
4.9 KiB
Vue3-Vant-Mobile
一个集成 Vue3、Vite4、Vant4、Pinia2、Vitest、TypeScript 构建的移动端模板
简体中文 / English , 使用指南 / English Guide
介绍
🔥🔥🔥 这是一个基于 Vue3, Vite4, Vant4, Pinia2, Vitest, TypeScript 构建的移动端模板。 🚀🚀🚀 它集成了Plop用于生成各种类型的代码块,同时还提供了 Dark Mode(暗黑模式)配置以及 Mock 数据等其他方便的扩展功能。💖💖💖 简而言之,它简洁、简单、易用,可供参考,能够帮助您节省一周的开发时间,希望您会喜欢。
成就
🎉🎉🎉 被添加到 Awesome Vite.Js
特性
- 🌓 支持暗黑模式
- 💪 使用TypeScript编写
- 🚀 Vue3 生态开箱即用
- 🤖 自动导入组件
- 📄 使用plop轻松创建文件
- 📦 使用pnpm包管理器
- 💾 支持Mock服务器
- 🌈 支持Git hooks(lint和commit)
- 💖 移动端UI组件(Vant4)
- 🍍 Pinia,Vue的状态管理库
安装与使用
- 获取项目代码
git clone https://github.com/CharleeWa/vue3-vant-mobile.git
- 安装依赖
cd vue3-vant-mobile
# with pnpm
pnpm install
- 运行
pnpm dev
- 打包构建
pnpm build
浏览器支持
支持现代浏览器
![]() IE |
![]() Edge |
![]() Firefox |
![]() Chrome |
![]() Safari |
|---|---|---|---|---|
| not support | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
贡献者
|
Charlie Wang |
魏小雨 |
AlphaYoung |
Leezon |
liuNing |
wswmsword |
Kysen |
许可证
♥️ MIT



