DMLiquidity
Displaying an svg in an avatar using nuxt ui
Here is how I did it.
I used https://nuxt.com/modules/nuxt-svgo
Then I Added it to my modules in nuxt.config.ts
Now out of the box it rendered my svg all white (I have no idea) but loading it as a component worked, so see the extra bit above.
Then I just used it as per the docs.
and
5 replies
Why does Icon work and UIcon not.
So Failing forward here, I'll put a note here for others. After I had installed the both the game icons collection and the ALL collection, but was still unable to get UIcon to function as expected.
To make it work you have to use the right naming pattern. So
becomes
As noted at the very top of the page here. https://ui.nuxt.com/components/icon
5 replies