Home Page

- Installed TailwindUI
- Changed the layout
- Added a new breakpoint
This commit is contained in:
2020-11-08 19:42:50 +00:00
parent cbdd40cb5a
commit 3dc5b6ea59
6 changed files with 215 additions and 6 deletions

View File

@@ -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')
},
}