feat: editor page properties
This commit is contained in:
18
client/store/editor.js
Normal file
18
client/store/editor.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import { make } from 'vuex-pathify'
|
||||
|
||||
const state = {
|
||||
title: '',
|
||||
description: '',
|
||||
tags: [],
|
||||
path: '',
|
||||
isPublished: true,
|
||||
publishEtartDate: '',
|
||||
publishEndDate: '',
|
||||
locale: 'en'
|
||||
}
|
||||
|
||||
export default {
|
||||
namespaced: true,
|
||||
state,
|
||||
mutations: make.mutations(state)
|
||||
}
|
Reference in New Issue
Block a user