retejs / vue-plugin

https://retejs.org
MIT License
37 stars 37 forks source link

Customize nodes in Angular 11 with rete-vue-render-plugin #42

Closed SvetlanaIo closed 3 years ago

SvetlanaIo commented 3 years ago

I would change nodes in Angular app. I couldn't see custom component in https://stackblitz.com/edit/github-rete-vctacd?file=src/app/rete/custom-node.ts from issue https://github.com/retejs/rete/issues/318

In my local app I recived error:

ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'components')
TypeError: Cannot read properties of undefined (reading 'components')

My dependencies:

"rete": "^1.4.5",
"rete-angular-render-plugin": "^0.2.2",
"rete-area-plugin": "^0.2.1",
"rete-connection-plugin": "^0.9.0",
"rete-context-menu-plugin": "^0.6.0-rc.1",
"rete-vue-render-plugin": "^1.0.0-rc2",
"rxjs": "~6.6.0",
"vue": "^2.6.8",
"zone.js": "~0.10.2"

What version of vue is comparable with retejs lib? What code changes I must submit to stackblitz demo to make custom component functional?