How to view on mobile on same network.

I’m wanting to view my site on mobile while developing.

Vite docs say I just need to run:

npm run dev --host

But when I run that, it points to the base and I see a laravel screen:

I am redirected to the base build folder in the URL every time.

Any help would be gratefully received.

Someone on our Discord server shared their steps for network access

This is kind of an old thread but that Discord link doesn’t work for me, has anyone figured out a solution to this yet?

Discord link still works for me, but you’ll need to be a member of the server in order for it to load the message with the details (which includes the Vite config changes)

You can join the server by becoming a sponsor

Ok, I became a sponsor and joined the discord so I can see the thread now. It seems like that solution isn’t as plug and play as it was with Sage 10 which is too bad since easy network access on synched devices was one of the main benefits of the Sage 8/9/10 workflow to me. I don’t fully understand the solution on Discord but i’ll dive deeper into if I have some down time.