Nuxt/examples/routes-meta/store/index.js
2018-08-20 14:59:21 +02:00

10 lines
136 B
JavaScript

export const state = () => ({
theme: 'light'
})
export const mutations = {
SET_THEME(state, theme) {
state.theme = theme
}
}