Initial commit

This commit is contained in:
2022-10-17 19:26:56 +02:00
commit 0370f5f00c
25 changed files with 30799 additions and 0 deletions

15
store/index.js Normal file
View File

@@ -0,0 +1,15 @@
export const state = () => ({
firebaseInitialized: false
})
export const getters = {
}
export const mutations = {
initFirebase (state) {
state.firebaseInitialized = true
}
}
export const actions = {
}

14
store/toast.js Normal file
View File

@@ -0,0 +1,14 @@
export const state = () => ({
content: '',
color: '',
timeout: 5000
})
export const mutations = {
showMessage (state, {content, color, timeout}) {
state.content = content
state.color = color
if (timeout) state.timeout = timeout
else state.timeout = 5000
}
}