Sometimes, when we are working on a big project, we need to manage a lot of imported Vuex modules and stores. To handle those modules, we always need to import them by creating a file that will have all the files imported and then export those to the Vuex store creation.
In this recipe, we will learn about a function that uses the webpack require.context function to automatically load and inject those files into the Vuex store creation.