From c50bc54fbaddb6430b331c9534d6b31e4b175527 Mon Sep 17 00:00:00 2001 From: dream2023 <1098626505@qq.com> Date: Thu, 30 Nov 2023 12:11:27 +0800 Subject: [PATCH] fix: create plugin --- docs/en-US/development/your-fisrt-plugin.md | 6 +++--- docs/zh-CN/development/your-fisrt-plugin.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en-US/development/your-fisrt-plugin.md b/docs/en-US/development/your-fisrt-plugin.md index edb7e678e..8caff6283 100644 --- a/docs/en-US/development/your-fisrt-plugin.md +++ b/docs/en-US/development/your-fisrt-plugin.md @@ -120,11 +120,11 @@ curl --location --request GET 'http://localhost:13000/api/hello:list' ## Build the plugin ```bash -yarn build plugins/@my-project/plugin-hello --tar +yarn build @my-project/plugin-hello --tar # step-by-step -yarn build plugins/@my-project/plugin-hello -yarn nocobase tar plugins/@my-project/plugin-hello +yarn build @my-project/plugin-hello +yarn nocobase tar @my-project/plugin-hello ``` The default saved path for the plugin tar is `storage/tar/@my-project/plugin-hello.tar.gz` diff --git a/docs/zh-CN/development/your-fisrt-plugin.md b/docs/zh-CN/development/your-fisrt-plugin.md index 1c983065d..5ea2110fe 100644 --- a/docs/zh-CN/development/your-fisrt-plugin.md +++ b/docs/zh-CN/development/your-fisrt-plugin.md @@ -120,11 +120,11 @@ curl --location --request GET 'http://localhost:13000/api/hello:list' ## 构建并打包插件 ```bash -yarn build plugins/@my-project/plugin-hello --tar +yarn build @my-project/plugin-hello --tar # 分步骤 -yarn build plugins/@my-project/plugin-hello -yarn nocobase tar plugins/@my-project/plugin-hello +yarn build @my-project/plugin-hello +yarn nocobase tar @my-project/plugin-hello ``` 打包的插件默认保存路径为 `storage/tar/@my-project/plugin-hello.tar.gz`