feat: opt claude
This commit is contained in:
26
.claude/commands/start-frontend.md
Normal file
26
.claude/commands/start-frontend.md
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
description: 启动前端 Vue3 开发服务器
|
||||
---
|
||||
|
||||
# 启动前端开发服务器
|
||||
|
||||
执行以下操作:
|
||||
|
||||
1. 切换到前端目录 plus-ui
|
||||
2. 检查 node_modules 是否存在,如果没有则先安装依赖
|
||||
3. 启动 Vite 开发服务器
|
||||
4. 显示访问地址
|
||||
|
||||
使用命令:
|
||||
```bash
|
||||
cd plus-ui
|
||||
# 如果需要安装依赖
|
||||
npm install --registry=https://registry.npmmirror.com
|
||||
|
||||
# 启动开发服务器
|
||||
npm run dev
|
||||
```
|
||||
|
||||
启动后提示:
|
||||
- 前端地址: http://localhost:80
|
||||
- 确保后端服务已启动: http://localhost:8080
|
||||
Reference in New Issue
Block a user