In this recipe, you will understand the fundamentals of Vuex when building a big application. This recipe is a little unorthodox because to understand how Vuex's store work, we will manipulate it directly; you should never do that in a real application.
Building a simple storage for the application state
Getting ready
Before trying this recipe, you should complete Making two components talk with Vuex in Chapter 4, All About Components.
How to do it...
Create a new project based on the Webpack template with the following command run in a new directory:
vue init webpack
How you answer the question...