I tried using a simple icons library in the starter ww custom component, and it didn’t work. Am I missing something, or is this not possible (i.e. using packages in custom components)?
Hi,
did you
- Add the dependency in package.json ?
- Declare the component in the components property of your element?
2 Likes
I had added it to package.json but had not declared it. Once I did, it worked. Noob problem .
Thanks!
1 Like