wikijs-fork/client/store/editor.js
2018-07-22 21:13:01 -04:00

22 lines
319 B
JavaScript

import { make } from 'vuex-pathify'
const state = {
id: 0,
content: '',
description: '',
isPublished: true,
locale: 'en',
mode: 'create',
path: '',
publishEndDate: '',
publishStartDate: '',
tags: [],
title: ''
}
export default {
namespaced: true,
state,
mutations: make.mutations(state)
}