A ready-to-use mobile project base template built with the Vue3, Vant, and Vite. | 基于 Vue3、Vite5、TypeScript/JavaScript、Tailwindcss、Vant4,开箱即用的移动端项目基础模板
This is a mobile-first project template built with Vue3, TypeScript, and Vite. It comes with a range of features and tools such as Vue-router 4, Vant4 component library, Tailwindcss atomic class framework, Pinia state management, support for dark mode, vw viewport adaptation, Axios wrapper, resource compression during packaging, support for mock data in development environment, ESLint, first screen loading animation, and development debugging panel. It also has guidelines for importing vant components on demand, using SVG icons, router caching, dynamic page title setting, mock data in development environment, vw viewport adaptation, Tailwindcss atomic class framework, Git commit message convention, and CDN dependency loading in production environment.
To use this project template, make sure you have Node version 16+ installed. You can use nvm to manage your local Node version. It is also recommended to use pnpm as the package manager.
Once you have the required dependencies, you can clone the project and install the necessary packages by running the following commands:
git clone [project-url]
cd [project-directory]
pnpm install
After the installation is complete, you can start the development server by running:
pnpm dev
This is a feature-rich mobile-first project template built with Vue3, TypeScript, and Vite. It includes a range of tools and libraries such as Vant4, Tailwindcss, Pinia, and Axios to provide a seamless development experience. With support for dark mode, SVG icon integration, router caching, and resource compression, this template offers great flexibility and performance optimization. It also includes features like development debugging panel, first screen loading animation, and mock data support for easier development and testing.