docs(cn): Correct the bash comment

This commit is contained in:
pan93412
2023-01-20 13:26:42 +08:00
parent 61bfa92491
commit d8bf0a92f4

View File

@@ -133,13 +133,13 @@
**Pake 提供了命令行工具,可以更快捷方便地一键自定义打你需要的包,详细可见 [文档](./bin/README.md)。** **Pake 提供了命令行工具,可以更快捷方便地一键自定义打你需要的包,详细可见 [文档](./bin/README.md)。**
```bash ```bash
// 使用 npm 进行安装 # 使用 npm 进行安装
npm install -g pake-cli npm install -g pake-cli
// 命令使用 # 命令使用
pake url [options] pake url [options]
// 随便玩玩,首次由于安装环境会有些慢,后面就快了 # 随便玩玩,首次由于安装环境会有些慢,后面就快了
pake https://weekly.tw93.fun --name Weekly --transparent pake https://weekly.tw93.fun --name Weekly --transparent
``` ```
@@ -150,16 +150,16 @@ pake https://weekly.tw93.fun --name Weekly --transparent
开始前请确保电脑已经安装了 Rust `>=1.63` 和 Node `>=16 如 16.18.1` 的环境,此外需参考 [Tauri 文档](https://tauri.app/v1/guides/getting-started/prerequisites) 快速配置好环境才可以开始使用,假如你太不懂,使用上面的命令行打包会更加合适。 开始前请确保电脑已经安装了 Rust `>=1.63` 和 Node `>=16 如 16.18.1` 的环境,此外需参考 [Tauri 文档](https://tauri.app/v1/guides/getting-started/prerequisites) 快速配置好环境才可以开始使用,假如你太不懂,使用上面的命令行打包会更加合适。
```sh ```sh
// 安装依赖 # 安装依赖
npm i npm i
// 本地开发 # 本地开发
npm run dev npm run dev
// 本地调试 # 本地调试
npm run dev:debug npm run dev:debug
// 打包应用 # 打包应用
npm run build npm run build
``` ```