summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/boards/stores/index.js
blob: 0a87c6ab821464b25ee7fe43e6b5b958954ee311 (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 actions from 'ee_else_ce/boards/stores/actions';
import getters from 'ee_else_ce/boards/stores/getters';
import mutations from 'ee_else_ce/boards/stores/mutations';
import state from 'ee_else_ce/boards/stores/state';

Vue.use(Vuex);

export const createStore = () =>
  new Vuex.Store({
    state,
    getters,
    actions,
    mutations,
  });

export default createStore();