retejs / connection-path-plugin

Home Page:https://retejs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error on editor.use(ConnectionPathPlugin)

cslotterback opened this issue · comments

I am getting the error
TypeError: t.install is not a function
when trying to load the connection path plugin

<script src="https://cdn.jsdelivr.net/npm/rete-connection-path-plugin@0.3.1/build/connection-path-plugin.min.js"></script>

editor.use(ConnectionPathPlugin);

I have same issue

Try:

<script src="https://cdn.jsdelivr.net/npm/rete-connection-path-plugin@0.3.1/build/connection-path-plugin.min.js"></script>

editor.use(ConnectionPathPlugin.default);

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.