diff --git a/lib/core/module.js b/lib/core/module.js index d55eed13f0..b5a234fc69 100755 --- a/lib/core/module.js +++ b/lib/core/module.js @@ -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