diff --git a/packages/nuxt3/src/core/nuxt.ts b/packages/nuxt3/src/core/nuxt.ts index a8550a1a16..ccab22530f 100644 --- a/packages/nuxt3/src/core/nuxt.ts +++ b/packages/nuxt3/src/core/nuxt.ts @@ -75,12 +75,12 @@ export default class Nuxt extends Hookable { this.addHooks(this.options.hooks) } - // Await for modules - await this.moduleContainer.ready() - // Await for server await initNitro(this) + // Await for modules + await this.moduleContainer.ready() + // Call ready hook await this.callHook('ready', this)