mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-01 09:57:14 +00:00
20 lines
435 B
JavaScript
20 lines
435 B
JavaScript
|
export const state = {
|
||
|
list: [
|
||
|
'Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.',
|
||
|
'Lorem ipsum dolor sit amet, consetetur sadipscing elit.',
|
||
|
'Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.'
|
||
|
]
|
||
|
}
|
||
|
|
||
|
export const mutations = {
|
||
|
add (state, title) {
|
||
|
state.list.push(title)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export const getters = {
|
||
|
get (state) {
|
||
|
return state.list
|
||
|
}
|
||
|
}
|