Hanmo123 / vue-template

A vue project template with naiveui, tailwindcss, pinia, and pinia-plugin-persistedstate installed, with non-essential code removed for projects to quickly start.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

atomcraft

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

Recommended IDE Setup

VSCode + Volar (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

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

About

A vue project template with naiveui, tailwindcss, pinia, and pinia-plugin-persistedstate installed, with non-essential code removed for projects to quickly start.


Languages

Language:TypeScript 55.2%Language:HTML 19.8%Language:JavaScript 19.4%Language:CSS 4.2%Language:Vue 1.4%