summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/user_lists/store/index/index.js
blob: 9b9df59ed32e810aa6834fa6c472aab5f1db2171 (plain)
1
2
3
4
5
6
7
8
9
10
11
import Vuex from 'vuex';
import * as actions from './actions';
import mutations from './mutations';
import createState from './state';

export default (initialState) =>
  new Vuex.Store({
    actions,
    mutations,
    state: createState(initialState),
  });