docs: clarify `dependsOn` works not just for parallel plugins (#26707)

This commit is contained in:
Taras Batenkov 2024-04-09 20:27:21 +03:00 committed by GitHub
parent b25fcbda63
commit d8299b635f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ export default defineNuxtPlugin({
### Plugins With Dependencies ### 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] ```ts twoslash [plugins/depending-on-my-plugin.ts]
export default defineNuxtPlugin({ export default defineNuxtPlugin({