import VueCytoscape from 'vue-cytoscape';
Vue.use(VueCytoscape);
There is a page on which, depending on the context, a corresponding diagram is displayed.
In the page component, the plugin for the cytoscape is registered "cytoscape.js-context-menus":
The cytoscape is registered globally in main.ts.
There is a page on which, depending on the context, a corresponding diagram is displayed. In the page component, the plugin for the cytoscape is registered "cytoscape.js-context-menus":
After several transitions through the pages (many instances of the component are created), an error is observed:
How to fix the error?