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
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
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 | |
| 2.1.21 | ^2.6.14 | Apache-2.0 | |
| 2.1.20 | ^2.6.14 | Apache-2.0 | |
| 2.1.18 | ^2.6.14 | Apache-2.0 | |
| 2.1.17 | ^2.6.14 | Apache-2.0 | |
| 2.1.16 | ^2.6.14 | Apache-2.0 | |
| 2.1.15 | ^2.6.14 | Apache-2.0 | |
| 2.1.12 | ^2.6.14 | Apache-2.0 | |
| 2.1.11 | ^2.6.14 | Apache-2.0 | |
| 2.1.10 | ^2.6.14 | Apache-2.0 | |
| 2.1.9 | ^2.6.14 | Apache-2.0 | |
| 2.1.8 | ^2.6.14 | Apache-2.0 | |
| 2.1.7 | ^2.6.14 | Apache-2.0 | |
| 2.1.6 | ^2.6.14 | Apache-2.0 | |
| 2.1.5 | ^2.6.14 | Apache-2.0 | |
| 2.1.4 | ^2.6.14 | Apache-2.0 | |
| 2.1.3 | ^2.6.14 | Apache-2.0 | |
| 2.1.2 | ^2.6.14 | Apache-2.0 | |
| 2.1.1 | ^2.6.14 | Apache-2.0 | |
| 2.1.0 | ^2.6.14 | Apache-2.0 | |
| 1.0.13 | ^2.6.14 | Apache-2.0 | |
| 1.0.12 | ^2.6.14 | Apache-2.0 | |
| 1.0.11 | ^2.6.14 | Apache-2.0 | |
| 1.0.10 | ^2.6.14 | Apache-2.0 | |
| 1.0.8 | ^2.6.14 | Apache-2.0 | |
| 1.0.6 | ^2.6.14 | Apache-2.0 |
Showing the latest 30 of 33. See every release on npm