md-elevation has already been used with this registry #5587
Unanswered
zZHorizonZz
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Are you using or embedding your component in an application where someone else is also using If you're not loading other code that is using MWC, your build may not be code splitting or bundling properly, causing additional copies of MWC to be loaded. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently using material-web components with lit/react, but I'm encountering a strange issue. On certain pages, I receive the following error:
I suspect the issue arises when the page includes components using the material-web component "md-elevation" (for example elevated buttons, chips, progress, fab, etc)
I create React components using Lit/React's
createComponent
method. Here's an example:My research suggests this might be a known issue with Lit, as discussed here and here. However, I could be wrong. I would greatly appreciate any help or insights from the material-web team.
Beta Was this translation helpful? Give feedback.
All reactions