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.
123 70ab76fd92
完整修复
2 months ago
..
.vscode 完整修复 2 months ago
e2e 完整修复 2 months ago
public 完整修复 2 months ago
src 完整修复 2 months ago
.editorconfig 完整修复 2 months ago
.gitattributes 完整修复 2 months ago
.gitignore 完整修复 2 months ago
.prettierrc.json 完整修复 2 months ago
README.md 完整修复 2 months ago
auto-imports.d.ts 完整修复 2 months ago
components.d.ts 完整修复 2 months ago
env.d.ts 完整修复 2 months ago
eslint.config.ts 完整修复 2 months ago
index.html 完整修复 2 months ago
package-lock.json 完整修复 2 months ago
package.json 完整修复 2 months ago
playwright.config.ts 完整修复 2 months ago
tsconfig.app.json 完整修复 2 months ago
tsconfig.json 完整修复 2 months ago
tsconfig.node.json 完整修复 2 months ago
tsconfig.vitest.json 完整修复 2 months ago
vite.config.ts 完整修复 2 months ago
vitest.config.ts 完整修复 2 months ago

README.md

atc-frontend

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

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