This demo is designed to kickstart my development journey using Vue 3, NestJS, TypeScript, PM2, Vue Router, Pinia, Vitest, and Tailwind CSS within the Vite ecosystem. The demo leverages Vue 3 <script setup>
Single File Components (SFCs), check out the script setup docs to learn more.
VSCode + Volar (and disable Vetur)
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking.
See Vite Configuration Reference.
pnpm install
pnpm vd
pnpm vb
Run Unit Tests with Vitest
pnpm vt