Skip to content

Commit

Permalink
Fix a code error in plugin schema page
Browse files Browse the repository at this point in the history
  • Loading branch information
Syncret committed Jul 23, 2024
1 parent d277468 commit 35d45e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zh-CN/guide/plugin/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ namespace Example {
})
}

export default Foo
export default Example
```

形如 `name``Config` 这样的属性,我们称之为插件的元属性。它们需要与插件的入口函数同级导出。例如,你还可以通过导出 `usage` 属性来为插件提供使用方法。这样一来,一个完整的插件就可以写成这样:
Expand Down

0 comments on commit 35d45e8

Please sign in to comment.