Merge branch ‘master’ of https://gitlink.org.cn/hanjuebeauty/LLAMAPICE
✅ 运行方式 ✅ 步骤 1:启动前端开发服务器(Vite)
打开第二个终端(或 PowerShell 窗口),进入项目根目录,运行:
bash npm run dev
显示 VITE v4.5.3 ready in 320 ms ➜ Local: http://localhost:5173/
✅ 此时前端服务器已启动,Electron 才能连接。
✅ 步骤 2:再运行 Electron
在另一个终端中运行:
bash npx electron main.cjs
Electron 能成功连接 http://localhost:5173,窗口就会正常显示。
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
✅ 运行方式 ✅ 步骤 1:启动前端开发服务器(Vite)
打开第二个终端(或 PowerShell 窗口),进入项目根目录,运行:
bash npm run dev
显示 VITE v4.5.3 ready in 320 ms ➜ Local: http://localhost:5173/
✅ 此时前端服务器已启动,Electron 才能连接。
✅ 步骤 2:再运行 Electron
在另一个终端中运行:
bash npx electron main.cjs
Electron 能成功连接 http://localhost:5173,窗口就会正常显示。