mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
hotfix(vue-app): ReferenceError error passed with routeChanged (#4444)
This commit is contained in:
parent
0f28f9cdb6
commit
6ed3ecacc7
@ -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