chore(markdown): Updated plugin guide for v3
This commit is contained in:
parent
d7442b9bc4
commit
cac698027c
15 changed files with 195 additions and 348 deletions
12
markdown/dev/guides/plugins/loading/en.md
Normal file
12
markdown/dev/guides/plugins/loading/en.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
title: Loading plugins
|
||||
order: 140
|
||||
---
|
||||
|
||||
Plugins can be loaded at build time and added to the desig. Or at run time and added to an instantiated pattern.
|
||||
|
||||
To load a plugin at build time, it should be added to [the `plugins` key of the part configuration](/reference/api/part/config/plugins).
|
||||
|
||||
To load a plugin at run time, it should be loaded with a call to [`Pattern.use()`](/reference/api/pattern/use).
|
||||
|
||||
Please refer to the relevant documentation for more details.
|
Loading…
Add table
Add a link
Reference in a new issue