This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
Includes vue-router and Pinia [^1].
In addition, ESLint, and Prettier are also included and are set to be executed automatically at runtime and commit. (Since these settings are set strictly, please relax yourself.)
VSCode + Vue - Official (and disable Vetur).
It is designed to be close to create-vue commands.
Command | Description |
---|---|
dev | Start devserver. |
clean | Clear devserver cache. |
type-check | Check vue markup. |
lint | Run ESLint and prettier. |
build | Build for production. |
build:clean | Clear production build files. |
build-only | Build for production without checking. For Deploy use. |
preview | Run the program generated by the production build. |
When you use this template, try follow the checklist to update your info properly
- Change the author name in
LICENSE
- Change the favicon in
public
- Remove the
.github
folder which contains the funding info - Clean up the READMEs and remove routes
- for Vue3
- vite-vue3-ts-startar
- vite-vuetify-ts-starter - With Vuetify3
- vite-element-plus-ts-starter - with Element Plus