2017-05-21 13:45:21 +00:00
|
|
|
export const state = () => ({
|
2017-03-25 22:04:34 +00:00
|
|
|
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.'
|
|
|
|
]
|
2017-05-21 13:45:21 +00:00
|
|
|
})
|
2017-03-25 22:04:34 +00:00
|
|
|
|
|
|
|
export const mutations = {
|
2017-10-31 13:43:55 +00:00
|
|
|
add(state, title) {
|
2017-03-25 22:04:34 +00:00
|
|
|
state.list.push(title)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export const getters = {
|
2017-10-31 13:43:55 +00:00
|
|
|
get(state) {
|
2017-03-25 22:04:34 +00:00
|
|
|
return state.list
|
|
|
|
}
|
|
|
|
}
|