Note: A starter template for Vue 2 already exist here. However, it uses composition API so I made one with Options API instead, for legacy reasons. Also a more minimal version of it & a bit opinionated.
This starter template will help you to easily create a Vue2 application (with Options API) bundled by the lightning fast build tool called Vite. Besides Vite this template also provides:
- Vue Router
- WindiCSS (TailwindCSS) + Dark Mode
vite-plugin-vue2
- Vue 2 support for Vitevite-plugin-components
- On demand components auto importing for Vitevite-plugin-windicss
- WindiCSS/TailwindCSS for Vite
- Install dependencies
yarn
- Start dev server
yarn dev
- Visit the page
http://localhost:8080