doc: more detailed frontend debug comment

This commit is contained in:
Junyan Qin
2025-09-29 10:21:55 +08:00
parent 628ec019fa
commit 2c70275830
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -44,8 +44,14 @@ Install dependencies and start the frontend
```bash
pnpm install
pnpm dev
# If pnpm is not installed, you can also use npm to solve dependencies and start
npm install
npm run dev
```
Then according to the output information, visit `http://127.0.0.1:3000` to view the standalone frontend page.
:::info
When using `pnpm dev` to start locally, the environment variable `NEXT_PUBLIC_API_BASE_URL` will be automatically used by the frontend to ensure that the frontend can access the `5300` port of the locally running backend.