diff --git a/packages/vue-app/template/App.js b/packages/vue-app/template/App.js index fdc81a3c6f..f67601cfe4 100644 --- a/packages/vue-app/template/App.js +++ b/packages/vue-app/template/App.js @@ -60,7 +60,7 @@ export default { if (typeof window !== 'undefined') { window.<%= globals.nuxt %> = this <% if (globals.nuxt !== '$nuxt') { %> - window.$nuxt = true + window.$nuxt = { $root: { constructor: this.$root.constructor } } <% } %> } // Add $nuxt.error()