mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
fix(nuxt3): reassign plugins on iterations (#3619)
This commit is contained in:
parent
1d8e431f24
commit
3e68433365
@ -71,6 +71,7 @@ export async function resolveApp (nuxt: Nuxt, app: NuxtApp) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Resolve plugins
|
// Resolve plugins
|
||||||
|
app.plugins = []
|
||||||
for (const config of [...nuxt.options._extends.map(layer => layer.config), nuxt.options]) {
|
for (const config of [...nuxt.options._extends.map(layer => layer.config), nuxt.options]) {
|
||||||
app.plugins.push(...[
|
app.plugins.push(...[
|
||||||
...config.plugins ?? [],
|
...config.plugins ?? [],
|
||||||
|
Loading…
Reference in New Issue
Block a user