3 ms·
I assumed most of this was already standard practice. Although boilerplate is useful to have on hand. Two thoughts: 1. Vue seems to follow most of these paradi
by baggachipz 2y ago
I assumed most of this was already standard practice. Although boilerplate is useful to have on hand. Two thoughts:
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.
- morrvs 2y agoIn 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.
- baggachipz 2y agoYou could have a `ts` and a `js` directory. Compile ts from the former, ignore the latter.