mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +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()
|
// Call next()
|
||||||
next()
|
next()
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.error(err)
|
const error = this.error(err)
|
||||||
this.<%= globals.nuxt %>.$emit('routeChanged', to, from, error)
|
this.<%= globals.nuxt %>.$emit('routeChanged', to, from, error)
|
||||||
next(false)
|
next(false)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user