From 3347eae4f6c781bb26e07bf24ab49fe37ec8a3da Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Mon, 28 Jul 2025 16:06:18 +0800 Subject: [PATCH] perf: comments --- docs/en/develop/dev-config.md | 6 ++---- docs/zh/develop/dev-config.md | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/en/develop/dev-config.md b/docs/en/develop/dev-config.md index 18d78b546..2c0c7a62c 100644 --- a/docs/en/develop/dev-config.md +++ b/docs/en/develop/dev-config.md @@ -1,7 +1,5 @@ # Development Configuration -> This document is based on LangBot version 4.0 - LangBot is divided into frontend and backend. The frontend is developed using Next.js + shadcn, and the backend is developed using Quart (an asynchronous version of Flask). ## Backend @@ -25,7 +23,7 @@ At this point, the configuration file will be automatically generated in the `da ## Frontend -The code is located in the `web` directory and requires Node.js and PNPM. +The code is located in the `web` directory and requires Node.js and [pnpm](https://pnpm.io/installation). Copy `.env.example` to `.env` and fill in the values. @@ -41,7 +39,7 @@ cp .env.example .env copy .env.example .env ``` -Recommended to use [pnpm](https://pnpm.io/installation) to install dependencies. +Install dependencies and start the frontend ```bash pnpm install diff --git a/docs/zh/develop/dev-config.md b/docs/zh/develop/dev-config.md index 88f52d9ff..0256ebfe3 100644 --- a/docs/zh/develop/dev-config.md +++ b/docs/zh/develop/dev-config.md @@ -1,7 +1,5 @@ # 开发配置 -> 此文档基于 LangBot 4.0 版本编写 - LangBot 分为前端和后端,前端使用 Next.js + shadcn 开发,后端通过 Quart(Flask 的异步版本)开发。 ## 后端 @@ -25,7 +23,7 @@ uv run main.py ## 前端 -代码位于 `web` 目录下,需要安装 Node.js,PNPM。 +代码位于 `web` 目录下,需要安装 Node.js,[pnpm](https://pnpm.io/zh/installation)。 复制 `.env.example` 到 `.env`。 @@ -41,7 +39,7 @@ cp .env.example .env copy .env.example .env ``` -推荐使用 [pnpm](https://pnpm.io/zh/installation) 安装依赖。 +安装依赖并启动前端 ```bash pnpm install