fix(docs): Add second pattern.use() signature
This commit is contained in:
parent
7cc76b3edf
commit
7063d8ab9f
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ For more details, refer to [the plugin guide](/guides/plugins/).
|
||||||
|
|
||||||
```js
|
```js
|
||||||
Pattern pattern.use(object plugin)
|
Pattern pattern.use(object plugin)
|
||||||
|
// or
|
||||||
|
Pattern pattern.use(object plugin, object plugin_data)
|
||||||
```
|
```
|
||||||
|
|
||||||
See [the plugin guide](/guides/plugins/) for details on how to structure
|
See [the plugin guide](/guides/plugins/) for details on how to structure
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue