News for hackers. Stuff that matters.
Re:Modern Script Loading by gbuk2013 on Saturday September 28, 2019 @05:01AM (#21099295)
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 :)

Re:Modern Script Loading by ratww on Saturday September 28, 2019 @11:03AM (#21100661)
Yeah, 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.