A short while back, I made the decision to transform my Vue project into a library in order to make it easier to reuse the components across different projects.
Following some guidelines, I successfully converted the project into a library. However, when I try to use this library in another project and utilize the components, I encounter errors with some of the components from one of the dependencies:
Unknown custom element: <sui-modal> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
This issue arises for all the elements within the modal component.
Now, I am puzzled as to what could be causing this problem. Could it be related to webpack? Or is there a need to export these modules from semantic in a specific way? Interestingly, everything worked perfectly fine in the original project.