title: Vuex Modules Mutations
body: <p>I need to call vuex module it doesn't work. I've seen the documentation but still it doesn't work. Hope someone can help me.</p>
  
  <pre><code>const stateLocations ={
  
      state: {
  
          provinces: {},
          cities: {}
      },
      mutations: {
          provinces(state, payload){
  
              state.provinces = payload
          }
      }
  }
  
  
  const store = new Vuex.Store({
  
      modules: {
          locations: stateLocations
      }
  
  
  })
  </code></pre>
  
  <p>My code to call the mutations</p>
  
  <pre><code>created(){
  
              var store = this.$store
  
              axios.get('api/provinces')
                  .then( function(response){
  
                      store.state.locations.commit('provinces', response.data)
                  })
                  .catch()
          }
  </code></pre>
  
  <p>This one doesn't work <code>store.state.locations.commit('provinces', response.data)</code>
  TY</p>