Hi, thanks for creating and maintaining this package.
I had a bit of hard time trying to make the toaster notifications styled correctly since the documentation refers to the old CommonJS format. So I though I had to add the content to the new tailwind.config.js which is using ECM format.
However, the notification didn't style correctly.
After some time I realized that tailwind 4.1 only works with app.css so that the correct import is this:
@source '../../vendor/masmerise/livewire-toaster/resources/views/*.blade.php';
to be added to app.css.
I think it would be useful for other people like me (I am not familiar with tailwind) to know this information from the documentation.
Is it a good idea to add an extra section for tailwind 4 ?
Feel free to close this issue if you think it's not relevant, but I spent a couple of hours trying to find this out, and I wanted to share my discomfort with this experience lol.
Thanks
Hi, thanks for creating and maintaining this package.
I had a bit of hard time trying to make the toaster notifications styled correctly since the documentation refers to the old CommonJS format. So I though I had to add the
contentto the new tailwind.config.js which is using ECM format.However, the notification didn't style correctly.
After some time I realized that tailwind 4.1 only works with
app.cssso that the correct import is this:to be added to
app.css.I think it would be useful for other people like me (I am not familiar with tailwind) to know this information from the documentation.
Is it a good idea to add an extra section for tailwind 4 ?
Feel free to close this issue if you think it's not relevant, but I spent a couple of hours trying to find this out, and I wanted to share my discomfort with this experience lol.
Thanks