wikijs-fork/client/store/page.js
2018-10-28 22:09:58 -04:00

22 lines
314 B
JavaScript

import { make } from 'vuex-pathify'
const state = {
id: 0,
authorId: 0,
authorName: 'Unknown',
createdAt: '',
description: '',
isPublished: true,
locale: 'en',
path: '',
tags: [],
title: '',
updatedAt: ''
}
export default {
namespaced: true,
state,
mutations: make.mutations(state)
}