Skip to content

Commit

Permalink
🍱 add store of game
Browse files Browse the repository at this point in the history
🍱 add store of game
  • Loading branch information
Styx11 committed Mar 26, 2019
1 parent ec3a541 commit f7b6488
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/store/gameStore/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import LSManager from '@/script/localStorage_manager';
import Grid from '@/script/grid';

export default {
state () {
return {

};
},
getters: {

},
mutations: {

},
actions: {

}
};
4 changes: 4 additions & 0 deletions src/store/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import Vue from 'vue';
import Vuex from 'vuex';
import gameStore from './gameStore';
import LSManager from '../script/localStorage_manager';

Vue.use(Vuex);

export default new Vuex.Store({
strict: process.env.NODE_ENV !== 'production',
modules: {
gameStore,
},
state: {
settings: {
tips: false,
Expand Down

0 comments on commit f7b6488

Please sign in to comment.