Daisy UI on a Livewire component to use in a custom page
Hi everyone!
I'm trying to apply base tailwind classes and Daisy UI ones in a Livewire component used in a custom page.
I've read the previous conversations about it, created a custom theme, but I can't seem to make it work.
This is my vite.config.js:
This is my tailwind.config.js:
My AdminPanelProvider:
My component:
Both
I've run
I also notice that if in my tailwind.config.js lives
Thank you so much for every help.
I'm trying to apply base tailwind classes and Daisy UI ones in a Livewire component used in a custom page.
I've read the previous conversations about it, created a custom theme, but I can't seem to make it work.
This is my vite.config.js:
This is my tailwind.config.js:
My AdminPanelProvider:
])->viteTheme('resources/css/filament/admin/theme.css');My component:
Both
bg-orange-500 (default tailwind) and btn btn-primary (daisy ui) don't work.I've run
npm run build and have npm run dev active. I receive the daisy ui message when building the assets.I also notice that if in my tailwind.config.js lives
plugins: [require("daisyui")], come colors from the side bar disappearsThank you so much for every help.