What about putting some “HTML” code in JS files ? It’s a complete weird approach. Fifteen years saying : “don’t mix things”. And React comes. Again and again the same mistake.
A simple Vue project can be run directly from a browser with no need of transpilation. This allows Vue to be easily dropped into a project the way jQuery is.