fuse-box-vue-seed
fuse-box-vue-seed copied to clipboard
Problem when using Vue.extend to export component definitions
Currently when using TypeScript to get good VS Code support for single file components instead of
export default { }
one needs to use
import Vue from 'vue'
export default Vue.extend({ ... })
This currently leads to the following error:
[Vue warn]: Failed to mount component: template or render function not defined.
How can I fix this?
You have to export an object as single file component