Skip to content

Instantly share code, notes, and snippets.

@rajatk16
Created July 11, 2018 11:46
Show Gist options
  • Save rajatk16/a49c0af3caebb012a6ba164d93fd32db to your computer and use it in GitHub Desktop.
Save rajatk16/a49c0af3caebb012a6ba164d93fd32db to your computer and use it in GitHub Desktop.
const store = new Vuex.Store({
actions,
mutations,
state: {
activeType: 'posts',
posts: [],
logging_in: false,
userObj: {},
loadingPosts: false
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment