Skip to content

Commit

Permalink
Merge pull request #9 from nocobase/fix/create-plugin-bug
Browse files Browse the repository at this point in the history
fix: create plugin
  • Loading branch information
dream2023 authored Nov 30, 2023
2 parents ee4b4cc + c50bc54 commit f1404d4
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 f1404d4

Please sign in to comment.