CoreFiles by mySites.guru
store.js20 lines, 576 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
963f893cc9f7d71534b347f9794d38fd
sha1
c883076a9c28d790d36901f2bcc633152208a169
sha256
8319e62e7cf94001f32d5a6578ec86e85094b6ceaf581784acd58ff0d7012c23
import Vue from 'vue'
import Vuex from 'vuex'
import state from './state';
import * as getters from './getters';
import * as actions from './actions';
import mutations from './mutations';
import createPersistedState from 'vuex-persistedstate'
import {persistedStateOptions} from "./plugins/persisted-state";

Vue.use(Vuex);

// A Vuex instance is created by combining the state, mutations, actions, and getters.
export default new Vuex.Store({
    state,
    getters,
    actions,
    mutations,
    plugins: [createPersistedState(persistedStateOptions)],
    strict: false
})

The same content is in 6 releases, Joomla 4.0.0-alpha2 to 4.0.0-alpha8. See them all, or every version of this file.