Closed mahouha closed 1 year ago
Hello
i face same problem ! is there any solution?
@mahouha @prg-hussam Hi,
If you are using it in development mode, check the dev-server host, by default it runs in localhost
.
Change it to your ip using --encore-args="--host <your-ip>"
eg. npm run dev -- --encore-args="--host 172.16.10.1"
Hey! Thanks so much for your interest in Inertia.js and for sharing this issue/suggestion.
In an attempt to get on top of the issues and pull requests on this project I am going through all the older issues and PRs and closing them, as there's a decent chance that they have since been resolved or are simply not relevant any longer. My hope is that with a "clean slate" me and the other project maintainers will be able to better keep on top of issues and PRs moving forward.
Of course there's a chance that this issue is still relevant, and if that's the case feel free to simply submit a new issue. The only thing I ask is that you please include a super minimal reproduction of the issue as a Git repo. This makes it much easier for us to reproduce things on our end and ultimately fix it.
Really not trying to be dismissive here, I just need to find a way to get this project back into a state that I am able to maintain it. Hope that makes sense! ❤️
Versions:
@inertiajs/inertia
version: 0.11.0@inertiajs/inertia-vue3
version: 0.6.0Describe the problem:
I have a laravel 9 app builded with
vue3
,inertia-laravel
,inertiajs
andlaravel-vite
, it works perfetct on PC but when I try to open it in mobile device It show a blank page without any console log.NB : when I toggle device toolbar to mobile in a navigator it works correctly but in real mobile no ( I tested on different navigators)
I can't fix this issue come from
inertiajs\inertia-vue3
orinertiajs/inertia-laravel
Steps to reproduce:
route :
app.js
WelcomeVue.vue (under pages folder) :
and app.blade.php :