mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
update module tests
This commit is contained in:
parent
1417dae99b
commit
bdca7630a4
@ -2,7 +2,7 @@ module.exports = function () {
|
||||
let ctr = 1
|
||||
|
||||
// Add hook for module
|
||||
this.nuxt.plugin('module', moduleContainer => {
|
||||
this.plugin('ready', moduleContainer => {
|
||||
this.nuxt.__module_hook = moduleContainer && ctr++
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user