Some checks failed
continuous-integration/drone/push Build is failing
- Complete GGZ Ecademy Nuxt.js user portal - Learning products browser and management - Member management interface - User authentication and roles - Multi-language support (NL/EN) - Vuex store for state management - Component-based architecture
15 lines
313 B
JavaScript
15 lines
313 B
JavaScript
export const state = () => ({
|
|
color: '',
|
|
content: '',
|
|
icon: '',
|
|
errors: []
|
|
})
|
|
|
|
export const mutations = {
|
|
showMessage(state, payload) {
|
|
state.content = payload.content
|
|
state.color = payload.color
|
|
state.icon = payload.icon;
|
|
state.errors = payload.errors;
|
|
}
|
|
} |