How to overwrite Nuxeo Web UI bundled JS components in Nuxeo LTS2021
This is a solution for successfully overwriting Nuxeo LTS2021 Web UI bundled JS components without getting the error Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': this name has already been used with this registry
.
At Maretha.io we found that this can be very useful when performing Nuxeo upgrades from LTS2019 (10.10) to LTS2021, when there are already overwritten OOTB Nuxeo Web UI components in the Nuxeo LTS2019 (10.10) project.