Vue Setup with Docker, Eslint, Tailwind, and DaisyUI
  • TypeScript 76.9%
  • Dockerfile 9.4%
  • JavaScript 5.6%
  • HTML 4.9%
  • Vue 2.6%
  • Other 0.6%
Find a file Use this template
2026-03-16 23:45:09 -06:00
.vscode Initial Setup 2026-03-16 23:45:09 -06:00
e2e Initial Setup 2026-03-16 23:45:09 -06:00
public Initial Setup 2026-03-16 23:45:09 -06:00
src Initial Setup 2026-03-16 23:45:09 -06:00
.gitignore Initial Setup 2026-03-16 23:45:09 -06:00
.node-version Initial Setup 2026-03-16 23:45:09 -06:00
.npmrc Initial Setup 2026-03-16 23:45:09 -06:00
compose.yml Initial Setup 2026-03-16 23:45:09 -06:00
Dockerfile Initial Setup 2026-03-16 23:45:09 -06:00
env.d.ts Initial Setup 2026-03-16 23:45:09 -06:00
eslint.config.mjs Initial Setup 2026-03-16 23:45:09 -06:00
index.html Initial Setup 2026-03-16 23:45:09 -06:00
package.json Initial Setup 2026-03-16 23:45:09 -06:00
playwright.config.ts Initial Setup 2026-03-16 23:45:09 -06:00
pnpm-lock.yaml Initial Setup 2026-03-16 23:45:09 -06:00
README.md Initial Setup 2026-03-16 23:45:09 -06:00
tsconfig.app.json Initial Setup 2026-03-16 23:45:09 -06:00
tsconfig.json Initial Setup 2026-03-16 23:45:09 -06:00
tsconfig.node.json Initial Setup 2026-03-16 23:45:09 -06:00
tsconfig.vitest.json Initial Setup 2026-03-16 23:45:09 -06:00
vite.config.ts Initial Setup 2026-03-16 23:45:09 -06:00
vitest.config.ts Initial Setup 2026-03-16 23:45:09 -06:00

vue-project

This template should help get you started developing with Vue 3 in Vite.

VS Code + Vue (Official) (and disable Vetur).

Type Support for .vue Imports in TS

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.

Customize configuration

See Vite Configuration Reference.

Project Setup

pnpm install

Compile and Hot-Reload for Development

pnpm dev

Type-Check, Compile and Minify for Production

pnpm build

Run Unit Tests with Vitest

pnpm test:unit

Run End-to-End Tests with Playwright

# Install browsers for the first run
npx playwright install

# When testing on CI, must build the project first
pnpm build

# Runs the end-to-end tests
pnpm test:e2e
# Runs the tests only on Chromium
pnpm test:e2e --project=chromium
# Runs the tests of a specific file
pnpm test:e2e tests/example.spec.ts
# Runs the tests in debug mode
pnpm test:e2e --debug