The generate:routeCreated hook still existed but probably not in the expected place
This commit is contained in:
pimlie 2017-12-17 12:55:45 +01:00 committed by Pooya Parsa
parent 126b58be00
commit 0f4bf0f9b2

View File

@ -82,7 +82,6 @@ module.exports = class Generator {
await Promise.all(routes.splice(0, this.options.generate.concurrency).map(async ({ route, payload }) => {
await waitFor(n++ * this.options.generate.interval)
await this.generateRoute({ route, payload, errors })
await this.nuxt.callHook('generate:routeCreated', route)
}))
}