Demo project for my talk about Component testing with Vitest
Link to slides: https://slides.com/mayashavin/component-testing-vitest/fullscreen
vite-project
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify for Production
npm run build
Vitest
Run Unit Tests withnpm run test