How To Set Up Modules in Vuex

Vuex - Spark Project

Read an in-depth walkthrough on using Vuex, and how to set up modules. Since all of the Modules are registered under the global namespace, you'll need to individually namespace each of our Modules to avoid naming conflicts, and face the issue of namespacing

Modules are super important to use once your application starts growing.

Read more about this, here.

If you want to take a look how to use vuex in a laravel spark project from step 1, see here.

Coming up next is how to setup Actions to fire API calls so the database can stay synchronized with Vuex. By @nickjbasile