[Vuejs]-Component Data Flow [VueJS]

0👍

well, for me in such a case I will follow "when in doubt, split it out".
splitting the files and dividing the responsibility is always better, I prefer to put all the API calls and vuex tools in a separated directory, and using slots in the reusable components.
here are 2 articles I found for most common tips regarding VueJs best practices
https://www.telerik.com/blogs/10-good-practices-building-maintaining-large-vuejs-projects

https://itnext.io/how-to-structure-my-vue-js-project-e4468db005ac

Leave a comment