mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
Revert cc74126
The generate:routeCreated hook still existed but probably not in the expected place
This commit is contained in:
parent
126b58be00
commit
0f4bf0f9b2
@ -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)
|
||||
}))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user