Best way to use tailwind styles on custom pages?

Is there a preferred way to use tailwind classes in the blade files for custom filament pages? I am currently doing this but obviously it only works locally and is very fragile.
FilamentAsset::register([
Css::make('custom-stylesheet', asset('css/app.css')),
Css::make('page-assets', 'http://chicago-211-api.test/build/assets/app-97668bcd.css')
]);
FilamentAsset::register([
Css::make('custom-stylesheet', asset('css/app.css')),
Css::make('page-assets', 'http://chicago-211-api.test/build/assets/app-97668bcd.css')
]);
2 Replies
LightningSnaps
LightningSnapsOP16mo ago
Wow, that was so easy. Thank you.
Want results from more Discord servers?
Add your server