Nuxt/examples/routes-meta/store/index.js

10 lines
136 B
JavaScript
Raw Normal View History

2018-08-20 12:59:08 +00:00
export const state = () => ({
theme: 'light'
})
export const mutations = {
SET_THEME(state, theme) {
state.theme = theme
}
}