There seem to be a catch when using `--css tailwind`. When you add the @import at the end of the `application.tailwind.css` file the imported styles are not loading. While if you place them before the @tailwind lines everything works as planned.
I encountered this issue when I tried to add actiontext to a project configured with tailwind css. The actiontext.css file was placed after the @tailwind lines and Trix style was'nt applied.
My configuration: Rails 7.0.1 with tailwind and esbuild Ruby 3.0.3
Update. [not sure if this was introduced in Rails 7 or before] Instead of hardcoding the URL in the postURL method, it is possible to use the direct_upload: true in the file field and retrieve its value calling this.inputTarget.dataset.directUploadUrl