A content editing toolset for Vue.js
npm install vue-publisherbash
npm i -S vue-publisher
`
$3
The goal here is to keep everything as simple as possible, in fact, with just 2 components you can have a publisher and a reader to render your finished article from its native JSON form.
`vue
`
$3
These components provide useful CSS classes to customize the look of your editor. The class structure is as follows:
`scss
// The editor's internal container
.editor {
// The commands container
.commands {
// The single command button
button {
background-color: red;
// A button when its property is activated
&.is-active {
background-color: green;
}
}
}
// The editor itself
.content {
color: black;
}
}
// The external component
.reader {
// The content
.content {
color: black;
}
}
``