docs: improve build step in plugin document (#273)

构建指令不全 https://github.com/halo-dev/plugin-starter 这个链接中的readme指令是全的,有pnpmInstall这个步骤
/kind documentation
```release-note
None
```
This commit is contained in:
shangjianan2
2023-10-30 18:36:55 +08:00
committed by GitHub
parent 2a38801e80
commit 78a0e1b3f1
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -8,7 +8,7 @@ description: 了解如何构建你的第一个插件并在 Halo 中使用它。
## 创建插件项目
1. 打开 [halo-dev/plugin-starter](https://github.com/halo-dev/plugin-starter)。
> 这是一个插件的初始模板,你可以基于它来开发自己的插件。
2. 点击 `Use this template` -> `Create a new repository`
@@ -25,6 +25,7 @@ description: 了解如何构建你的第一个插件并在 Halo 中使用它。
这很简单,首先你需要构建插件:只需要在 `halo-plugin-hello-world` 项目目录下执行 Gradle 命令
```shell
./gradlew pnpmInstall
./gradlew build
```
@@ -8,7 +8,7 @@ description: 了解如何构建你的第一个插件并在 Halo 中使用它。
## 创建插件项目
1. 打开 [halo-dev/plugin-starter](https://github.com/halo-dev/plugin-starter)。
> 这是一个插件的初始模板,你可以基于它来开发自己的插件。
2. 点击 `Use this template` -> `Create a new repository`
@@ -25,6 +25,7 @@ description: 了解如何构建你的第一个插件并在 Halo 中使用它。
这很简单,首先你需要构建插件:只需要在 `halo-plugin-hello-world` 项目目录下执行 Gradle 命令
```shell
./gradlew pnpmInstall
./gradlew build
```