title: Vuex Store Unknown Getters with Nuxt
body: <p>I've almoust finished my app in Vuejs and now I decided to "rewrite" everything on Nuxt due to SSR :)
  I almoust get everything but there is this getter thing I am not getting.. I can't make it around even though I tried so hard and I am not sure what I am missing.</p>
  
  <p>I am using vuex module so my /store/categories.js looks like:</p>
  
  <pre><code>export const state = () =&gt;  ({
    categories: [
      {
            name: 'category 1',
           id: '1'
           subcategories: [
          {
             name: 'Subcategory 1',
              id: '1.1'
          }
        ]
      },
      {
        name: 'category 2',
        id: '2',
        subcategories: [
          {
            name: 'Subcategory 2',
            id: '1.1'
          }
        ]
      }
    ]
  })
  export const getters = () =&gt; ({
  filterCategory() {
      return state.categories
    },
  })
  </code></pre>
  
  <p>This is a simple getter above and I can't even make this work..</p>
  
  <p>And here is my posts/test.vue page:</p>
  
  <pre><code>&lt;template&gt;
    &lt;div&gt;
      &lt;p&gt;{{ filter }} &lt;/p&gt;
      &lt;p&gt;{{ mainCategories }} &lt;/p&gt;
    &lt;/div&gt;
  &lt;/template&gt;
  &lt;script&gt;
  
  import { mapGetters } from 'vuex'
  
  export default {
    name: 'test',
    layout: 'test',
    data () {
      return {
        search: '',
      }
    },
    computed: {
      ...mapGetters({
        filter: 'categories/filterCategory'
      }),
      mainCategories () {
        return this.$store.getters['categories/filterpazari']
      }
    },
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>What am I missing ?</p>