1.0.3 • Published 1 year ago

@dgiot/dgiot-amis-editor v1.0.3

Weekly downloads
-
License
Mozilla Public Li...
Repository
github
Last release
1 year ago

dgiot-amis-editor

微服务架构图_02.png

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: {},
    }
  }

Online examples

Edit gmullerb-react-reducer-provider