@dgiot/dgiot-amis-editor
v1.0.3
Published
<p align="center"> <img src="https://img.shields.io/github/commit-activity/m/dgiot/dgiot-amis-editor" alt="ommit-activity"> <img src="https://badgen.net/badge/package/%40dgiot%2Fdgiot-amis-editor/blue" alt="package" maxretrytimes="3" class="m-1 tra
Downloads
73
Readme
dgiot-amis-editor
Installation
yarn add @dgiot/dgiot-amis-editor
Quick Start
main.js
import DgiotAmisEditor from '@dgiot/dgiot-amis-editor'
Vue.use(DgiotAmisEditor)
examples.vue
<dgiot-amis-editor
theme="ang"
class-name="is-fixed"
:is-mobile="isMobile"
:preview="isPreview"
:value="schema"
@onChange="onChange"
/>
data() {
return {
isPreview: false,
isMobile: false,
post: {
json: '',
amis_page_id: 15,
},
baseURL: 'https://prod.iotn2n.com',
schema: {},
}
}