mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
Merge remote-tracking branch 'origin/2.x' into dev
This commit is contained in:
commit
18b9b750f5
@ -145,7 +145,7 @@ async function loadAsyncComponents(to, from, next) {
|
||||
// Call next()
|
||||
next()
|
||||
} catch (err) {
|
||||
this.error(err)
|
||||
const error = this.error(err)
|
||||
this.<%= globals.nuxt %>.$emit('routeChanged', to, from, error)
|
||||
next(false)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user