News for hackers. Stuff that matters.
Re:Vue.js vs. React by petepete on Saturday August 19, 2017 @02:26PM (#15054823)
I'm still to be totally convinced by single page components, the idea of mixing languages within a file just doesn't feel right.

I think I'd prefer to have a component directory with HTML, JS/TS and CSS/SCSS files in.

Re:Vue.js vs. React by ergo14 on Saturday August 19, 2017 @03:38PM (#15055157)
Doesn't that depend on pipeline? I've been doing for polymer components with html css and js split into separate files. They get concatenated into single file in build process.
Re:Vue.js vs. React by petepete on Saturday August 19, 2017 @03:48PM (#15055219)
Not by default as far as I know. There's more info here, it's doable but not pretty.

https://github.com/vuejs/vueify/issues/35

Re:Vue.js vs. React by ergo14 on Saturday August 19, 2017 @04:46PM (#15055499)
The last example looks normal to me?