mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 18:10:30 +08:00
3a6c531ac8
Bumps [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue) from 5.2.4 to 6.0.7. - [Release notes](https://github.com/vitejs/vite-plugin-vue/releases) - [Changelog](https://github.com/vitejs/vite-plugin-vue/blob/main/packages/plugin-vue/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-vue/commits/plugin-vue@6.0.7/packages/plugin-vue) --- updated-dependencies: - dependency-name: "@vitejs/plugin-vue" dependency-version: 6.0.7 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
delivery-platform-ui(I1)
Vue 3 + Vite + Element Plus + Pinia,对齐 tracks/02。
开发
- 先启动后端:
mvn -f ../../services/pom.xml -pl delivery-platform-api spring-boot:run(工作目录可自调) - 安装依赖并启动:
cd web/delivery-platform-ui
npm install
npm run dev
浏览器访问 http://127.0.0.1:5173,登录 admin / admin。/api 由 Vite 代理到 8080。
生产 / Staging 构建(VITE_API_BASE)
静态部署到 Nginx 且 API 为独立主机 时,构建前设置后端根 URL(无尾部斜杠;axios 仍请求 /api/v1/...):
VITE_API_BASE=https://your-platform-api.example.com npm run build
与 I6_CLOSEOUT.md §4 环境矩阵一致。本地开发通常 不设 该变量。
构建
npm run build