Why isn't Tailwind work in Filament custom component view files?
This is my tailwind config file:
?
Normal blade files interpret everythign live as I change it. For example, in any liveview full compoenent when I do bg-fuchsia-500 it works but not in custom component files of Filament that have been generated to /resources/views/forms/components/mycomponent.blade.php
How to make it that Tailwind generates css from those clases when using npm run dev the same way as it's doing right now for normal liveview components outside of Filament?
1 Reply
you should also add
'./resources/views/forms/**/*.blade.php'