3 ms·
I'd just like a directory containing a template, style and code file, the referencing would be straightforward to imply without having to repeat everywhere. Sim
by petepete 8y ago
I'd just like a directory containing a template, style and code file, the referencing would be straightforward to imply without having to repeat everywhere. Similar to how views work in Rails I guess.
- jazoom 8y agoYou want more magic, basically. I guess that's a personal choice. I've never personally felt inconvenienced by having this at the bottom of my .vue files: <style src='./style.css'></style> <script src='./script.js'></script> It's not like I ever have to type it out. It gets copied along with whatever else is in the .vue file I copied from.