aux-vue-amis-editor

升级编辑器到最2.1.0支持amis2.x.x 实时编辑预览,在线拖拽开发,内部使用antd switch组件
1,557 1
Install
npm install aux-vue-amis-editor
Latest Version:2.1.26
Vue:2
License:Apache-2.0
Last Updated:Oct 14, 2022
Links: GitHub  ·  npm
Maintainer: xiaomingzaiyueqiu

aux-vue-amis-editor

version language last stars ommit-activity package Npm Version Node Version
Jsdeliver Month Downloads Install Size Type Support
Outdated Dep Vulnerablities License

Installation

yarn add aux-vue-amis-editor --save

Quick Start

Serve.vue

import AuxVueAmisEditor from 'aux-vue-amis-editor'
export default Vue.extend({
  name: 'ServeDev',
  components: {
    AuxVueAmisEditor,
  },
  data() {
    return {
      preview: true,
      schema: {
        type: 'tasks',
        name: 'tasks',
        items: [
          {
            label: 'hive 任务',
            key: 'hive',
            status: 4,
            remark: '查看详情<a target="_blank" href="http://www.baidu.com">日志</a>。',
          },
          {
            label: '小流量',
            key: 'partial',
            status: 4,
          },
          {
            label: '全量',
            key: 'full',
            status: 4,
          },
        ],
        id: 'u:5f649ab86d6a',
      },
    }
  },
})
</script>
<template>
  <div id="app">
    <aux-vue-amis-editor :schema="schema" :is-preview="true" ref="amisEditor" :is-tools="true" :is-phone="false" :is-design-mode="true" />
  </div>
</template>

Related Packages

vue-schema-based-json-editor

A vuejs component of schema based json editor.

4,639 176
eom-form

vue.js schema based form generator

652 3
@formschema/native

Vue component form based on JSON Schema

108,416

Version History

Version Released Vue License
2.1.26 ^2.6.14 Apache-2.0
2.1.25 ^2.6.14 Apache-2.0
2.1.24 ^2.6.14 Apache-2.0
2.1.23 ^2.6.14 Apache-2.0
2.1.22 ^2.6.14 Apache-2.0