Replies: 1 comment
-
Ah, just figured it out -
an npm install laravel-nova-ui. Still, I'm pretty sure that icons used to be available globally without needing an import? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, just updating to v5 from v4. Some of my custom components use the old system for icons which has been updated for v5.
It looks to me like I should just need some code like this...
<Icon
name="briefcase" type="outline" class="h-4 w-4 mr-2 align-middle" />but this is just rendering to the page as...
<icon
name="briefcase" type="outline" class="h-4 w-4 mr-2 align-middle">I thought the nova components were available globally? If not how do I import Icon? I tried the following but it doesn't help...
import
{ Icon } from 'laravel-nova-ui'Any help / pointers would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions