Skip to content

Vue.js 3 TypeScript / Vite starter template with Pinia, Vue Router, Tailwind and more.

License

Notifications You must be signed in to change notification settings

kouts/vue3-ts-vite-starter-template

Repository files navigation

vue3-ts-vite-starter-template

A single page app Vite starter template, created to easily bootstrap Vue.js 3 apps.

Features

  • TypeScript
  • Vitest for unit testing
  • Pinia for state management
  • Vue Router 4 for client-side routing
  • Tailwind 3 for layout and styling
  • SCSS variables inside Vue components
  • Purgecss for eliminating unused CSS
  • Basic multiple layouts feature
  • ESLint config based on eslint:recommended with sensible defaults ☺️
  • Prettier for code formatting
  • Automated release workflow with semantic-release

Project setup

pnpm install

Compiles and hot-reloads for development

pnpm run dev

Compiles and minifies for production

pnpm run build

Run your unit tests

pnpm run test:unit

Lints files

pnpm run lint

Lints and fixes files

pnpm run lint-fix

Runs Typechecks

pnpm run typecheck

Customize configuration

See Configuration Reference.