# mingcuiweb **Repository Path**: linming-Q/mingcuiweb ## Basic Information - **Project Name**: mingcuiweb - **Description**: 茗翠前端------------------- - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-19 - **Last Updated**: 2026-11-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 茗翠官网前端(Vue3 + Vite + TS) 已包含: - Element Plus UI - axios 封装 + 拦截器 - Pinia(购物车/用户登录态) - 路由守卫(requiresAuth) - 404 页面 - 商品详情 / 文章详情路由 - i18n(中/英)骨架 + 头部切换 ## 启动 ```bash npm i npm run dev ``` ## 构建 ```bash npm run build npm run preview ``` ## 配置 API 复制 `.env.example` 为 `.env`,设置: ``` VITE_API_BASE_URL=https://api.example.com ```