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.
https://jedlik-vite-ts-template.netlify.app
-
Template base
https://github.com/yooneskh/vite-tauri-template
https://github.com/peshanghiwa/Vue3-Vite-Vuetify3-Typescript-Template
https://github.com/antfu/vitesse -
ESLint+Prettier:
https://vueschool.io/articles/vuejs-tutorials/eslint-and-prettier-with-vite-and-vue-js-3/
node -v
-> v14.18.2npm -v
-> 8.3.1
- Update npm:
npm i npm@latest -g
- Clean npm chache:
npm cache clean --force
- Check npm chache status:
npm cache verify
- List globally installed node packages:
npm list -g --depth=0
- List locally installed node packages:
npm list --depth=0
- List all versions of an npm package:
npm view package_name versions
- View information about the package:
npm view package_name
- Show outdated npm packages:
npm outdated
- Update package:
npm update package_name
- Uninstall package:
npm remove package_name
ornpm uninstall package_name
https://linmasahiro.github.io/vue3-table-lite/
Vite.js is a new modern dev server for javascript which is blazing fast and includes many sensible defaults.
Vue.js is an incremental frontend framework which is an absolute joy to work with. It has seen very impressive improvements in version 3 including Composition Api, script setup, dynamic css binding and ... .
Vuetif 3 Alpha is arguably the best component library for Vue 3 and is currently in alpha stage but will soon be ready for production. Lots of premade components will make your job as application developer easier and more fun.
Translations are ready to go with vue-i18
Add your files to /locales
and are you are set.
Vitest A blazing fast unit-test framework for Vue3 powered by Vite.
Eslint Find and fix problems in your JavaScript code
Change your config at .eslintrc.js
Prettier is an opinionated code formatter
Change config at .prettierrc.js
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": ["javascript", "vue"],
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},