本次提交包含多端功能更新: 1. 新增admin后台轮播图管理路由与API 2. 后端商品服务新增热门/新品商品查询接口 3. 优化前端商品列表、公告、收藏、地址页UI与交互 4. 重构全局样式与主题变量,升级Element Plus适配 5. 调整vite打包配置与ts语法检查规则 6. 修复部分页面响应式适配问题 |
||
|---|---|---|
| .. | ||
| 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