Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 1.45 KB

readme.zh-CN.md

File metadata and controls

68 lines (42 loc) · 1.45 KB

vue3-quick-start

简体中文 | English

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

Commitizen friendly

Vue3 工程化项目搭建指北

vite 配置

See Vite Configuration Reference.

运行

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

Run End-to-End Tests with Cypress

pnpm test:e2e:dev

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

But it's still recommended to test the production build with test:e2e before deploying (e.g. in CI environments):

pnpm build
pnpm test:e2e

Lint with ESLint

pnpm lint

移动端调试

eruda

开启方式【根据需要自行修改变量或开启方式】

链接后添加?debug=true

如:http://127.0.0.1:5000/?debug=true