本次更新包含: 1. 初始化git提交规范配置文件 2. 添加claude调试配置 3. 后端:修复WebSocket依赖、优化秒杀/客服模块代码、修复文件存储bug、统一包结构 4. 前端:重构登录页面、新增组件类型声明、添加自动导入配置、新增WebSocket依赖包 |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .env.development | ||
| .env.production | ||
| .eslintrc-auto-import.json | ||
| .gitignore | ||
| README.md | ||
| auto-imports.d.ts | ||
| components.d.ts | ||
| env.d.ts | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
README.md
web-snack
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VS Code + Vue (Official) (and disable Vetur).
Recommended Browser Setup
- Chromium-based browsers (Chrome, Edge, Brave, etc.):
- Firefox:
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