Open padcom opened 6 years ago
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
Currently when using TypeScript to get good VS Code support for single file components instead of
one needs to use
This currently leads to the following error:
How can I fix this?