vuejs / laravel-elixir-vue-2

Laravel Elixir Vue 2.0 support plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vuex does not work properly with the vue loader

lukepolo opened this issue · comments

I am using vuex with multiple stores in a modular fashion.

Vue.use(Vuex);

const eventStore = new Vuex.Store({
 ... ommited ...
});

export default eventStore

This code only works if I remove these lines :

 vue: {
      loaders: {
        js: 'buble-loader'
      }
    },

Is there something I'm missing here ?