Skip to content

Commit

Permalink
fix: create plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
dream2023 committed Nov 30, 2023
1 parent ee4b4cc commit c50bc54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/en-US/development/your-fisrt-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
6 changes: 3 additions & 3 deletions docs/zh-CN/development/your-fisrt-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit c50bc54

Please sign in to comment.