1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-02-26 02:33:20 +00:00
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
}
}