Skip to content

RazorSiM/vue-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue 3 Starter

This is a comprehensive Vite + Vue 3 template, deployed here. Follow the steps below to set it up locally:

npx degit RazorSiM/vue-starter
pnpm install

What's Included

This template is configured to work seamlessly with ESLint, TypeScript, and VSCode. Below is a detailed list of the included features and tools.

Features

Development Experience

Testing

Recommended IDE Setup

Customize Configuration

See Vite Configuration Reference.

Project Setup

pnpm install

Compile and Hot-Reload for Development

pnpm run dev

Type-Check, Compile and Minify for Production

pnpm run build

Run Unit Tests with Vitest

pnpm run test:unit

Run End-to-End Tests with Playwright

pnpm run test:e2e

This runs the end-to-end tests against the Vite development server. It is much faster than the production build.

For CI environments, test the production build:

pnpm run build
pnpm run test:e2e

Lint, Fix, and Format with ESLint and @antfu/eslint-config settings

pnpm run lint # Check only
pnpm run lint:fix # Fix and format