11. Working with Vuex – Organizing Larger Stores

Overview

In this chapter, you will learn how to better organize larger Vuex stores. As your applications grow in complexity and features, your store file may become harder to work with. Even simply finding things can become a difficult chore as the file grows larger and larger. This chapter will discuss two different approaches to making it easier to organize your stores for simpler updates. The first approach will have you splitting up your code across different files whereas the second will use a more advanced Vuex feature, modules.

Introduction

So far, the stores we have worked on have been simple and short. But, as everyone knows, even the simplest of applications tend toward complexity ...

Get Front-End Development Projects with Vue.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.