@dgiot/dgiot-aliplayer
v1.0.2
Published
dgiot-dashboard-packages
Downloads
5
Readme
@dgiot/dgiot-aliplayer
Installation
yarn add vue-amis-sdk --save
Quick Start
App.vue
<template>
<div id='app'>
<vue-amis-sdk
id='editorName'
theme='cxd'
className='is-fixed'
:preview='isPreview'
:isMobile='isMobile'
@onChange='onChange'
:value='schema'
/>
</div>
</template>
<script>
import "amis/lib/themes/cxd.css";
import "amis/lib/themes/ang.css";
import "amis/lib/helper.css";
import "amis/sdk/sdk.css";
import "amis-editor/dist/style.css";
export default {
name: 'App',
data() {
return {
isPreview: false,
isMobile: false,
schema: {}
}
},
methods: {
onChange(e) {
console.log(e)
}
}
}
</script>
version
| vue-amis-sdk | amis | amis-editor | | ------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | | | | | | | | | | | | |