Maybe someone has the same case. How to render widget which the function is on another file of plugin.py? in my case, I created ExtraButton` and it placed on `static/header/index.js`. I remains not found the documentation to implement my expectation.
anyway, have you tried to publish new package in npm and used in your OpenEdx app? I have a problem. In my case, i got this error. I want to create a new menu option in course authoring header.
Thanks @arunmozhi , I solved my issue. Actually we need to understand that each MFE like authn, authoring, and so on might has different React and Paragon version. So, one of the solution we need to ensure that the patch has specific purpose. For me, that trying to update authoring i ensure that the npm installation and importing on `authoring` also
I am glad your issue is resoove. One thing I forgot about the npm install in my previous post is that you don’t have to actually publish it in the NPM registry, you can do an npm install directly from the Github URL. It will make the job of testing things easier.