Vue3 setup syntactic sugar TS introduces components and reports errors:
Module '"d:/git/sofar-energy-storage-pc/src/components/ComTable/BaseComTable.vue"'
has no default export.Vetur(1192)
The VsCode plug-in Vetur reported an error: the component did not throw.
It is because Vetur(v0.35.0) does not support ts yet.
Solution:
Replace the syntax highlighting plug-in Volar that supports ts to replace Vetur.
Disable Vetur
Enable Volar
The error disappears: