wikijs-fork/client/store/editor.js

22 lines
319 B
JavaScript
Raw Normal View History

2018-07-15 23:16:19 +00:00
import { make } from 'vuex-pathify'
const state = {
id: 0,
content: '',
2018-07-15 23:16:19 +00:00
description: '',
isPublished: true,
2018-07-16 02:40:41 +00:00
locale: 'en',
mode: 'create',
path: '',
publishEndDate: '',
publishStartDate: '',
tags: [],
title: ''
2018-07-15 23:16:19 +00:00
}
export default {
namespaced: true,
state,
mutations: make.mutations(state)
}