Summary
This chapter started by exploring the different libraries to develop large-scale and enterprise-ready applications with Vue.js 3. We discussed the individual libraries and their different features in detail to foster our understanding of building scalable and enterprise-ready applications. We also covered the essentials of Vuex, discussing how to structure our large-scale Vuex store by splitting Vuex actions, modules, getters, and states using the split-by-feature approach.
Next, we discussed the essentials of separation of concerns (SoC) by using the repository pattern to split large Vuex actions into individual repositories and make our enterprise application maintainable. The repository pattern is essential in creating an enterprise application, and we demonstrated how to implement it in Vue 3.
Lastly, we discussed how to structure Vue Router to avoid bloated and large router files as it will be difficult to maintain when the project becomes larger. We discussed strategic...