qingfeng1121 2d34823985 refactor(项目结构): 重构前端项目结构并优化功能
重构项目目录结构,将Views重命名为views,统一命名规范
新增多个服务类(ProductService, ShopService等)实现API调用
优化路由配置,添加404页面和路由守卫
完善类型定义(Type.ts),增加详细接口类型
修复登录逻辑,正确处理API响应
优化商品详情页,对接后端API获取真实数据
重构用户中心页面,对接订单和用户信息接口
统一CSS文件位置,修复样式问题
2026-01-28 10:24:32 +08:00

pc_frontend

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

VS Code + Vue (Official) (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
Description
No description provided
Readme 634 KiB
Languages
Vue 94.2%
TypeScript 4.9%
CSS 0.8%
HTML 0.1%