mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Add $nuxt.error()
This commit is contained in:
parent
87789b8748
commit
509c14a7ac
@ -27,6 +27,8 @@ export default {
|
||||
if (typeof window !== 'undefined') {
|
||||
window.$nuxt = this
|
||||
}
|
||||
// Add $nuxt.error()
|
||||
this.error = this.$root.error
|
||||
},
|
||||
<% if (loading) { %>
|
||||
mounted () {
|
||||
|
Loading…
Reference in New Issue
Block a user