vuejs / laravel-elixir-vue-2

Laravel Elixir Vue 2.0 support plugin
105 stars 20 forks source link

Vuex does not work properly with the vue loader #8

Closed lukepolo closed 4 years ago

lukepolo commented 8 years ago

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 ?