This template should help get you started developing with Vue 2 in Vite.
pnpm install
pnpm dev
pnpm build
Run Unit Tests with Vitest
pnpm test:unit
Run End-to-End Tests with Cypress
pnpm build
pnpm test:e2e # or `pnpm test:e2e:ci` for headless testing
Lint with ESLint
pnpm lint
- app 应用入口
- assets: 静态资源
- styles
- images
- fonts
- components: 基础组件
- composables: 组合式 API
- configs: 配置文件
- features: 功能组件
- layouts: 布局组件
- pages: 页面
- plugins: 插件
- router: 路由
- services: 服务、API
- stores: 全局状态
- types: 类型扩展
- utils: 工具函数