mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
docs: clarify dependsOn
works not just for parallel plugins (#26707)
This commit is contained in:
parent
b25fcbda63
commit
d8299b635f
@ -117,7 +117,7 @@ export default defineNuxtPlugin({
|
||||
|
||||
### Plugins With Dependencies
|
||||
|
||||
If a plugin needs to await a parallel plugin before it runs, you can add the plugin's name to the `dependsOn` array.
|
||||
If a plugin needs to wait for another plugin before it runs, you can add the plugin's name to the `dependsOn` array.
|
||||
|
||||
```ts twoslash [plugins/depending-on-my-plugin.ts]
|
||||
export default defineNuxtPlugin({
|
||||
|
Loading…
Reference in New Issue
Block a user