Add CSS files to head for custom Livewire components

Hello,

I made a custom Livewire component inside a widget which is inside a page.
But when in this component I try this code :
text-green-500
it doesn't work. Is there a way to add full TailwindCSS library to the project ? Or to rebuild it in a file and add it to head of the app through maybe @push('styles') ?

Thank you !
Was this page helpful?