mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
hooks: Await for modules:before hook
This commit is contained in:
parent
7137f848a2
commit
8e9f17c491
@ -15,7 +15,7 @@ export default class ModuleContainer {
|
||||
}
|
||||
|
||||
async ready() {
|
||||
this.nuxt.callHook('modules:before', this, this.options.modules)
|
||||
await this.nuxt.callHook('modules:before', this, this.options.modules)
|
||||
// Load every module in sequence
|
||||
await sequence(this.options.modules, this.addModule.bind(this))
|
||||
// Call done hook
|
||||
|
Loading…
Reference in New Issue
Block a user