Go to file
xs 4f57b21cfd 成品 2024-12-24 22:57:32 +08:00
.vscode 123 2024-12-22 19:02:17 +08:00
public 123 2024-12-22 19:02:17 +08:00
src 成品 2024-12-24 22:57:32 +08:00
.eslintrc.cjs 123 2024-12-22 19:02:17 +08:00
.gitignore 123 2024-12-22 19:02:17 +08:00
.prettierrc.json 123 2024-12-22 19:02:17 +08:00
App.vue 123 2024-12-22 19:02:17 +08:00
README.md 123 2024-12-22 19:02:17 +08:00
auto-imports.d.ts 123 2024-12-22 19:02:17 +08:00
components.d.ts 成品 2024-12-24 22:57:32 +08:00
env.d.ts 123 2024-12-22 19:02:17 +08:00
index.html 123 2024-12-22 19:02:17 +08:00
main.ts 123 2024-12-22 19:02:17 +08:00
package.json 123 2024-12-22 19:02:17 +08:00
pnpm-lock.yaml 123 2024-12-22 19:02:17 +08:00
tsconfig.app.json 123 2024-12-22 19:02:17 +08:00
tsconfig.json 123 2024-12-22 19:02:17 +08:00
tsconfig.node.json 123 2024-12-22 19:02:17 +08:00
tsconfig.vitest.json 123 2024-12-22 19:02:17 +08:00
vite.config.ts 成品 2024-12-24 22:57:32 +08:00

README.md

医路无忧

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

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

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

Lint with ESLint

pnpm lint