I love vue.js because of its simplicity, which means I can hack a quick one-page SPA with modern, intuitive data-binding syntax and no complex toolchain.
I also love the idea of single-file components which means there is a single place (*.vue
file) where each component stores DOM, styling and scripted functionality.
However, I want to use single-file components without wasting time on managing a build process every time I put an app together. In short, I want the benefits of component management without the overhead of a build toolchain, which means letting the browser do the heavy lifting for bootstrapping each *.vue
file via XMLHttpRequest
and DOM rendering. Making sure that we replace module.exports
and import
calls with corresponding Vue.component()
functionality.
I'd love to know if anyone has come across a client-side (only) solution for using *.vue
files on the browser. Surely this has been done already?