If you are using the default toast views, you must register the package's Blade templates in your Tailwind configuration so they are not purged.
For Tailwind CSS v4+ (Recommended):
Add the @source directive to your main CSS entry point:
@import "tailwindcss";
@source '../../vendor/masmerise/livewire-toaster/resources/views/*.blade.php';
For Tailwind CSS < 4.x (or using tailwind.config.js):
Add the path to the content array in your configuration file:
export default {
content: [
'./resources/**/*.blade.php',
'./vendor/masmerise/livewire-toaster/resources/views/*.blade.php',
],
};