update: readme

This commit is contained in:
Vick Scarlet
2025-04-05 18:03:43 +08:00
parent 3f58e3deae
commit 35c5fe36fb
2 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ cd my-project
2. 进入目录安装依赖。 2. 进入目录安装依赖。
```bash ```bash
yarn install pnpm install
``` ```
或者 或者
@@ -36,7 +36,7 @@ npm install
3. 启动本地服务器。 3. 启动本地服务器。
```bash ```bash
yarn dev pnpm dev
``` ```
或者 或者
@@ -45,7 +45,7 @@ yarn dev
npm run dev npm run dev
``` ```
4. 启动完成后会自动打开浏览器访问 [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html)。 4. 启动完成后会自动打开浏览器访问 [http://localhost:5173](http://localhost:5173)。
</details> </details>

View File

@@ -24,7 +24,7 @@ cd my-project
2. Installation dependence. 2. Installation dependence.
```bash ```bash
yarn install pnpm install
``` ```
Or Or
@@ -36,7 +36,7 @@ npm install
3. Start local server. 3. Start local server.
```bash ```bash
yarn dev pnpm dev
``` ```
Or Or
@@ -45,7 +45,7 @@ Or
npm run dev npm run dev
``` ```
4. After the startup is complete, will automatically open a browser and visit [http://localhost:8081/view/index.html](http://localhost:8081/view/index.html). 4. After the startup is complete, open a browser and visit [http://localhost:5173](http://localhost:5173).
</details> </details>
<details> <details>