Devin345458
Devin345458
I ended up doing the following ```javascript render() { this.wrapper = document.createElement('div'); this.wrapper.id = 'custom-id'; // this you can use this like any other vue component. this.component = new ComponentCtor({...
``` duplicateNode(parent = null) { const { parent } = this.selectedNode; this.clondeNode(this.selectedNode, parent) }, cloneNode(selectedNode, parent = null) { const newNode = new Node(selectedNode.componentName, selectedNode.props, parent, [], selectedNode.rules, selectedNode.additional) const...
I just copied the whole project because I was doing so much tweaking for it to fit our specific use case.