3 ms·
I use Vue.js old style without any compilation for a reasonably complex app and it’s pleasant enough. Node.js backend uses Pug for templating, each template in
by gbuk2013 7y ago
I use Vue.js old style without any compilation for a reasonably complex app and it’s pleasant enough.
Node.js backend uses Pug for templating, each template includes a script template file. These template files are built with Make and load either a minified bundle (made with terser) or just a bunch of plain JS depending on the value of NODE_ENV.
Works great :)
- ratww 7y agoYeah, Vue.js old style is quite nice to work when using ES6 modules! I think the only thing I'd miss is the scoped styles.