Files
comedy-video-lib/store/routing.js
Kevin ANATOLE 6945c27ec0 Logged in/ Logged out
- Created midlewares for authenticated and guest]
- Add the token to the api calls
- Added redirect after the login
2020-11-11 20:26:45 +00:00

10 lines
157 B
JavaScript

export const state = () => ({
redirectedFrom: null
})
export const mutations = {
setRedirectedFrom(state, from) {
state.redirectedFrom = from
}
}