An mobile web apps template based on the Vue 3 ecosystem。一个基于 Vue 3 生态系统的移动 web 应用模板,帮助你快速完成业务开发。
UnoCSS - the instant on-demand atomic CSS engine
Use the new <script setup> syntax
APIs auto importing - use Composition API and others directly
TypeScript, of course
Mock server Support
Git hooks - lint and commit
Vant - Vue UI library for mobile web apps
vConsole - the developer tool for mobile web page
Browser adaptation - use viewport vw/vh units
Desktop optimization - the mobile area
Dark Mode Support
️ Configure ESM as default
☁️ Deploy on Netlify, zero-config
vant-touch-emulator - Simulate mobile touch events on the desktopvant-use - Built-in composition APIs of Vantpinia-plugin-persistedstate - Configurable persistence and rehydration of Pinia storesunplugin-vue-i18n - unplugin for Vue I18n<script setup> SFC syntax<script setup> IDE supportvue3-vant-mobile requires Node 22.22.0+
Create a repo from this template on GitHub
If you prefer to do it manually with the cleaner git history
pnpm dlx tiged vue-zone/vue3-vant-mobile my-mobile-app # If you don't have pnpm installed, run: npm install -g pnpm
cd my-mobile-app
pnpm iWhen you use this template, try follow the checklist to update your info properly
LICENSEindex.htmlvite.config.tspublicAnd, enjoy :)
Just run and visit http://localhost:3000
pnpm devTo build the App, run
pnpm buildAnd you will see the generated file in dist that ready to be served.
Go to Netlify and select your clone, OK along the way, and your App will be live in a minute.
We recommend that issue be used for problem feedback, or Wechat group.
Your sponsorship will help us continue to iterate on this exciting project!
Our contributors have made this project better. Thank you!
MIT License
No open issues yet, or sync has not completed.