4 ms·
My issue has been going from the tiny little examples in the official tutorial to a medium-size app, I always get hung up on how to structure my files and code
by fjp 7y ago
My issue has been going from the tiny little examples in the official tutorial to a medium-size app, I always get hung up on how to structure my files and code what belongs where yadda yadda.
- ratww 7y agoThe most common way I see on the wild is by separating in categories: - package.json - src |- main.js |- components |- pages \- widgets |- directives |- helpers |- mixins |- router \- store This works for both small projects (but you might not have directives/mixins/router/store) and larger projects (but you might have to add more subfolders inside components/pages because you will start breaking down components).