Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Erickescorpions's avatar

Flux UI (Livewire 3) in a subdirectory – assets still loading from root?

Hi everyone! Last week I was trying to serve my Laravel app using NGINX under a subdirectory. The reason is that I want to reuse the main domain currently registered at my job, and serve the app from a specific path — something like https://myapp.com/app2/.

However, I haven’t been able to make it work because Flux UI still tries to load its assets (like flux.js and flux.css) from the root (/flux/) instead of respecting the subdirectory path.

Has anyone successfully configured Flux UI with Livewire 3 in a subfolder setup? Any ideas on how to make the asset paths work correctly?

Thanks in advance!

0 likes
3 replies

Please or to participate in this conversation.