importCustomNodeComponentfrom'./CustomNodeComponent.vue';importCustomControlComponentfrom'./CustomControlComponent.vue';classMyComponentextendsRete.Component{constructor(){// ...this.data.render='vue';this.data.component=CustomNodeComponent;// Vue.js component, not requiredthis.data.props={};// props for the component above, not required}}classMyControlextendsRete.Control{constructor(){// ...this.render='vue';this.component=CustomControlComponent;// Vue.js component, requiredthis.props={};// props for the component above, not required}}
constnode=editor.nodes[0];constcontrol=node.controls.get('ctrl');node.update();// force updatecontrol.update();// of view// in some cases you can gt Vue.js contextnode.vueContextcontrol.vueContext