Open huguestennier opened 4 years ago
When trying to dynamically import component based on a props like this:
computed: { dynamicComponent() { return () => import(`./component.vue`); } }
We get this error:
`TemplateContentRenderError` was thrown > render function or template not defined in component: anonymous
Related might be an upstream issue https://github.com/vuejs/rollup-plugin-vue/issues/328
When trying to dynamically import component based on a props like this:
We get this error: