mirror of
https://github.com/kevin-DL/comedy-video-lib.git
synced 2026-01-16 21:14:39 +00:00
Home Page
- Installed TailwindUI - Changed the layout - Added a new breakpoint
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
export const state = () => ({
|
||||
token: null,
|
||||
loggedIn: false,
|
||||
loading: false,
|
||||
profile: null,
|
||||
})
|
||||
|
||||
export const mutations = {
|
||||
@@ -10,4 +12,16 @@ export const mutations = {
|
||||
setLoggedIn(state, loggedIn) {
|
||||
state.loggedIn = loggedIn
|
||||
},
|
||||
setLoading(state, loading) {
|
||||
state.loading = loading
|
||||
},
|
||||
setProfile(state, profile) {
|
||||
state.profile = profile
|
||||
},
|
||||
}
|
||||
|
||||
export const actions = {
|
||||
loadProfile({ commit }) {
|
||||
commit('setProfile')
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user