title: Nuxt vuex store not getting axios request
body: <p>Have Nuxt axios module installed and works in index.js file but when I empty the index.js file and separate into its own module file (team.js) it doesn't work.</p>
  
  <p>Team.js</p>
  
  <pre><code>export const state = () =&gt; ({
    teams: {},
  })
  
  export const mutations = {
    SET_TEAMS (state, value) {
      state.teams = value
    }
  }
  
  export const actions = {
  async nuxtServerInit ({ commit }) {
    let {data} = await this.$axios.$get(`team`)
    commit('SET_TEAMS', data)
  }
  </code></pre>
  
  <p>In the Vue dev tools it shows as - 
  teams: Object
    teams: Object (empty)
  what is the correct way to have Vuex modules? The documentation and other projects I've seen this should work</p>