mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix: init nitro before module container (closes #165)
This commit is contained in:
parent
f5d96eb60c
commit
270bbbc47e
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user