Drop webpack and enjoy vite!
- Vue 3.2.41
- Vue-Router 4.1.6
- Vite 3.2.1
- Typescript 4.6.3
$ git clone https://git.futo.design/boilerplate/vite-vue.git --depth=1
Vue entry: ./src/main.tsx
$ npm run dev
$ npm run build
$ npm run lint
$ npm run lint:fix
$ npm run prettier
Clean dist dir: npm run clean
-
You can use and distribute this project anywhere, but I hope you could keep the original README.MD.
-
Enjoy it!