mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-18 11:45:11 +00:00
10 lines
107 B
JavaScript
10 lines
107 B
JavaScript
export const state = () => ({
|
|
val: 1
|
|
})
|
|
|
|
export const getters = {
|
|
getVal(state) {
|
|
return 100
|
|
}
|
|
}
|