vue-page-designer
A drag-and-drop mobile website builder base on Vue.
Install
You can start it quickly:
Options
You can add custom components, save callback.
Props | Type | Description |
---|---|---|
value | Object |
Editor initial value, you can pass the value of the save callback and resume the draft |
widgets | Object |
Vue Components. Custom components for editor. see Example |
save | (data) => void |
When you click the Save button, feed back to you to save the data |
upload | (files) => Promise |
Editor upload function, allowing you to implement your own upload-file's request |
Parameter: value
The value
came from save
.
Parameter: widgets
You can install default widget in vue-page-designer-widgets
Import and use it