This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
# Create app
yarn create vite vite-vue3-vuerouter4 --template vue
# Add Vue Router
yarn add vue-router
# Javascript modules installation
yarn install
# Launch server and run app
yarn dev
# After server is started, press q to quit server