blob: cc72139e565a8fb84e3b2d734109feeb269acf8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import Vue from 'vue';
import Vuex from 'vuex';
import * as actions from './actions';
import mutations from './mutations';
Vue.use(Vuex);
export const createStore = () => new Vuex.Store({
state: {
errors: [],
externalUrl: '',
loadingErrors: true,
},
actions,
mutations,
});
export default createStore();
|