Skip to content

vuex cant find SET_APP_LANGUAGE #4

@vuduo

Description

@vuduo

Hi,

I have an issue getting it work. I followed the example you provided leaving out the vue-title-switcher. When I run my application following error occured:

[vuex] unknown action type: SET_APP_LANGUAGE

Plugins (vuex, vueRouter) are all installed, config files are taken from your example except the translations file.

My store.js looks like this:

import Vuex from 'vuex';
import Vue from 'vue';

import { vueLocalizeVuexStoreModule } from 'vue-localize';

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    vueLocalizeVuexStoreModule
  }
});

I am using vuex 2.0.0 rc6, vue-localize 1.0.7, vue-router 0.7.9

Did I miss something?
Maybe you can help me figure it out.

Thx Vu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions