Created
July 22, 2018 15:39
-
-
Save sanath-kumar/793dbb42eafc3c060d158cbe74f61bee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import Vuex from 'vuex' | |
import Axios from 'axios' | |
import todos from './modules/todos' | |
Vue.use(Vuex); | |
export const store = new Vuex.Store({ | |
state: {}, | |
getters : {}, | |
mutations: {}, | |
actions:{}, | |
modules : { | |
todos | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment