Steps to reproduce:
components with HelloWorld: () => import('@/components/HelloWorld.vue'),(node:2248) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'props' of undefined
at normalizeProps (E:\Projects\Learning\vue-test-1\node_modules\vue\dist\vue.runtime.common.js:1354:23)
at Object.mergeOptions (E:\Projects\Learning\vue-test-1\node_modules\vue\dist\vue.runtime.common.js:1456:3)
at exports.getMergedDefinition (E:\Projects\Learning\vue-test-1\node_modules\vue-apollo\lib\utils.js:14:27)
at Promise.then.component (E:\Projects\Learning\vue-test-1\node_modules\vue-apollo\ssr\utils.js:188:19)
The origin of the stack trace:
/ssr/index.js: vm.$createElement is called with component name and passes it to resolveComponent/ssr/utils.js: resolveComponent calls resolveAsset that returns function (it is our function that returns import)getMergedDefinition that passes it to Vue's mergeOptionsmereOptions reads .options from it, at this point child is undefined because options exists only on real componentsmergeOptions is calling normalizeProps that attempts to read .propsAny idea how to solve this issue? I'd like to publish a working solution for the apollo module on Nuxt. This issue happens after beta.19 release
It will be solved with https://github.com/vuejs/vue/pull/9017
Has this been fixed?
See #469
Most helpful comment
It will be solved with https://github.com/vuejs/vue/pull/9017