This project is an toy example (To do application) on how to use VueJS using Vite (Server), PiniaJS (Store), Typescript (typing), Vitest (Unit Test) and Cypress (E2E Test).
npm install
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test:unit
Run End-to-End Tests with Cypress
npm run test:e2e:dev
This runs the end-to-end tests against the Vite development server. It is much faster than the production build.
But it's still recommended to test the production build with test:e2e
before deploying (e.g. in CI environments):
npm run build
npm run test:e2e
Lint with ESLint
npm run lint