This template have integrated some common purpose packages to help you start developing Vue 3
project with typescript
.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
-
tailwindcss with container-queries and typography
-
Simple but effective layout switch system, could define one layout per route.
-
E2e test - playwright
-
Unit test - vitest + vue/test-utils
-
Unit test coverage report -
vitest/coverage-v8
-
svg
- vite-svg-loader -
markdown
- unplugin-vue-markdown
// Markdown files default load location `src/contents/**`
-
Unit test
-
E2e test
-
Coding format and lint check
npm install
npm run dev
npm run build
npm run test:unit
npm run test:unit:coverage
# Install browsers for the first run
npx playwright install
# When testing on CI, must build the project first
npm run build
# Runs the end-to-end tests
npm run test:e2e
# Runs the tests only on Chromium
npm run test:e2e -- --project=chromium
# Runs the tests of a specific file
npm run test:e2e -- tests/example.spec.ts
# Runs the tests in debug mode
npm run test:e2e -- --debug
Lint with ESLint
npm run lint
Format coding style with Prettier
npm run format
-
Favicon
and
github
iconis from Bootstrap
-
Favicon
svg file generate by
realfavicongenerator.net
compress byiloveimg.com
MIT License © 2023-PRESENT Wen Wei , Chang