Skip to content

Instantly share code, notes, and snippets.

@jeremywynn
Created September 14, 2019 01:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremywynn/56408fd331316faa4cf3067326691592 to your computer and use it in GitHub Desktop.
Save jeremywynn/56408fd331316faa4cf3067326691592 to your computer and use it in GitHub Desktop.
Before any necessary adjustments
export const state = () => ({
// User
auth: null
});
export const mutations = {
// User
SET_AUTH(state, auth) {
state.auth = auth;
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment