โ ๏ธ Important Notice: Due to the discontinuation of vite-plugin-vue2, the official@vitejs/plugin-vue2
is recommended for use with Vue 2.7 onwards.This project reached End of Life by the end of 2022.
- Get started quickly with Vue 2 and Vite using vite-plugin-vue2.
- This template sets up a development environment for
Vue 2.6.14
+Vite
, providing a fast-paced starting point for your projects. - For an updated template supporting Vue 2.7, check out vite-vue2.7-template.
# Node.js version: >= 16.14.2
git clone https://github.com/WuChenDi/vite-vue2-template.git
# Install dependencies
pnpm install
# Start development server
pnpm run dev
# Build for production
pnpm run build
# Preview production build locally
pnpm run preview
For details on @cdlab996/eslint-config-vue2
and @cdlab996/prettier-config
, please refer to this link ๐