We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccf4282 commit c4b6260Copy full SHA for c4b6260
lib/templates/App.js
@@ -35,7 +35,7 @@ export default {
35
},
36
created () {
37
// Add this.$nuxt in child instances
38
- Vue.prototype.$nuxt = this
+ this.$root.$options.$nuxt = this
39
// Add to window so we can listen when ready
40
if (typeof window !== 'undefined') {
41
window.$nuxt = this
0 commit comments