Re:Vanilla Prime: A simpler, more sustainable way of web dev...
by morrvs on Tuesday August 27, 2024 @10:07AM
(#41367684)
In all honesty, I've never got to properly look into Vue, but it has been mentioned multiple times in the comments. Time to study it I guess :)
The "src/js" directory was initially called "src/scripts" but it kind of clashes with the top-level "scripts" for the shell scripts. Agreed it's not ideal though.
Re:Vanilla Prime: A simpler, more sustainable way of web dev...
by baggachipz on Tuesday August 27, 2024 @11:39AM
(#41368766)
You could have a `ts` and a `js` directory. Compile ts from the former, ignore the latter.
1. Vue seems to follow most of these paradigms, including "pass data down, bubble events up" and directory structure.
2. This is a stupid complaint, but putting *.ts files in a directory named "js" bothers me. Of course, it makes more sense if one doesn't like typescript and just uses ES6+ as I am wont to do.