Closed mauritskorse closed 1 month ago
I don't know how related this is but in dev i had to
php artisan optimize:clear
and
composer dump-autoload
and my problems with 404 error for flux.js and flux.css went away. Haven't deployed to production yet however.
I have the same problem. I'm using Laravel Forge with envoyer. The file shows a 404 error in the console but when I'm opening the path, the file is correctly shown. I don't get what is wrong. Working with the nginx config mentioned above doesn't give me the expected result :-(
I fixed it with the NGINX config on Forge. I just needed to delete my Cloudflare cache... Maybe it is worth mentioning this in the docs aswell?
Thanks for this. Just added a new section to the installation docs to clear this up for people (we have a similar section in the Livewire docs as well): https://fluxui.dev/docs/installation#configuring-nginx
When trying to deploy on my nginx server I noticed that it had the same issue as livewire, so I had to add the following to my nginx.conf to make it work. Might be good to add it to the docs.