You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
liulinlin bdceaeca55 Merge branch 'milestone-20260401-学习笔记' of http://39.101.133.168:8807/majun/practiceGit into milestone-20260401-学习笔记 2 weeks ago
..
.vscode 4.1提交笔记和代码 2 weeks ago
e2e 4.1提交笔记和代码 2 weeks ago
public 4.1提交笔记和代码 2 weeks ago
src 4.1提交笔记和代码 2 weeks ago
.editorconfig 4.1提交笔记和代码 2 weeks ago
.gitattributes 4.1提交笔记和代码 2 weeks ago
.gitignore 4.1提交笔记和代码 2 weeks ago
.oxlintrc.json 4.1提交笔记和代码 2 weeks ago
.prettierrc.json 4.1提交笔记和代码 2 weeks ago
README.md 4.1提交笔记和代码 2 weeks ago
env.d.ts 4.1提交笔记和代码 2 weeks ago
eslint.config.ts 4.1提交笔记和代码 2 weeks ago
index.html 4.1提交笔记和代码 2 weeks ago
package-lock.json 4.1提交笔记和代码 2 weeks ago
package.json 4.1提交笔记和代码 2 weeks ago
playwright.config.ts 4.1提交笔记和代码 2 weeks ago
tsconfig.app.json 4.1提交笔记和代码 2 weeks ago
tsconfig.json 4.1提交笔记和代码 2 weeks ago
tsconfig.node.json 4.1提交笔记和代码 2 weeks ago
tsconfig.vitest.json 4.1提交笔记和代码 2 weeks ago
vite.config.ts 4.1提交笔记和代码 2 weeks ago
vitest.config.ts 4.1提交笔记和代码 2 weeks ago

README.md

vue_prj

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

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run 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
npm run build

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

Lint with ESLint

npm run lint