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. In editors, we need Volar to make the TypeScript language service aware of .vue types.
See Vite Configuration Reference.
npm installnpm run devWarning
Do not commit these files
gsutil cp gs://protosaur-stage-iap-static-website/dawg/static/gcpv2_merged.json public/
VITE_USE_PROD_DATA=true npm run devLint with ESLint
npm run lintRun all test concurrently
npm run testnpm run test:typesRun Unit Tests with Vitetest
npm run test:unitRun End-to-End Tests with Playwright
# Install browsers for the first run
npx playwright install
# Runs the end-to-end tests
npm run test:e2e
# Runs the tests in debug mode
npm run test:e2e -- --debug
# Runs the e2e tests w/ CI configuration
CI=true npm run test:e2enpm run build