wikijs-fork/client/store/editor.js

14 lines
185 B
JavaScript
Raw Normal View History

2018-07-15 23:16:19 +00:00
import { make } from 'vuex-pathify'
const state = {
editor: '',
content: '',
mode: 'create'
2018-07-15 23:16:19 +00:00
}
export default {
namespaced: true,
state,
mutations: make.mutations(state)
}