添加智能启动功能,彻底解决目录结构问题

- 创建 start.js 智能启动脚本,自动检测项目结构
- 更新 quick-start 脚本,添加目录自动切换功能
- 简化克隆命令,用户可以使用标准方式克隆
- 无需用户手动调整,项目自动适配各种目录结构
- 提升用户体验,真正实现零配置部署
This commit is contained in:
KQL
2025-08-24 14:30:06 +08:00
parent 984421aa68
commit c477fc1826
6 changed files with 140 additions and 43 deletions

View File

@@ -4,8 +4,10 @@
"description": "AI Agent 设计工作流 - 奶茶快闪店宝可梦主题设计",
"main": "index.html",
"scripts": {
"dev": "npx http-server . -p 5175 -a 127.0.0.1 -o",
"serve": "npx http-server . -p 5175 -a 127.0.0.1"
"dev": "node start.js --open",
"serve": "node start.js",
"dev:old": "npx http-server . -p 5175 -a 127.0.0.1 -o",
"serve:old": "npx http-server . -p 5175 -a 127.0.0.1"
},
"keywords": [
"AI",