5 ms·
> 'Vue.Component' and a template string. But the template string is just a string, right? Can you get the same IDE integration while avoiding SFCs?
by ng12 7y ago
> 'Vue.Component' and a template string.
But the template string is just a string, right? Can you get the same IDE integration while avoiding SFCs?
- cooperadymas 7y agoAt that point it should probably be its own SFC. But You can also override the render function, and even use JSX. https://vuejs.org/v2/guide/render-function.html#JSX https://vuejs.org/v2/guide/render-function.html#JSX