Create a Vue 2 application bundled by the lightning fast build tool Vite
- ⚡️ Vite, Vue 2 - lightning fast
- 🔥 Composition-API with <script setup> syntax support
- 📦 Components auto importing
- 📥 APIs auto importing - use Composition API and others directly
- 🚦 Vue-Router
- 🎨 Windi CSS - next generation utility-first CSS framework
- 😃 Use icons from any icon sets, with no compromise
- 🧰 VueUse - Collection of essential Vue Composition Utilities
- 🦾 Typescript, of corse
vite-plugin-vue2
- Vue 2 support for Viteunplugin-vue2-script-setup
- syntax support for<script setup>
unplugin-vue-components
- importing Vue components on-demandunplugin-unplugin-auto-import
- importing APIs like CompositionAPI on-demandvite-plugin-windicss
- easy WindiCSS integrationunplugin-icons
- importing icons as Vue components on-demand
Create a repo from this template on GitHub
If you prefer to do it manually with a cleaner git history
npx degit lstoeferle/vite-vue2-windicss-starter my-vite-vue2-app
cd my-vite-vue2-app
yarn install
Just run and visit http://localhost:3333
yarn dev
To build the App, run
yarn build
And you will see the generated files in dist
, which are ready to be served.
Vue 3 is awesome, but we should not forget about supporting Vue 2
This project is inspired by Vitesse, an opinionated Vite starter template for Vue 3.
Big thanks to Anthony Fu for the inspiration and all the amazing tools you create.