Blank white page on mobile
7Doyo opened this issue · comments
2Doyo commented
Jetstream Version
4.0
Jetstream Stack
Inertia
Laravel Version
10.30.1
PHP Version
8.1.13
Database Driver & Version
MySQL 8.0.31
Description
Works fine on desktop but not in mobile device on local network (PS. no Apache problem for sure)
showing white blank page
Steps To Reproduce
composer create-project laravel/laravel example-app
cd example-app
composer require laravel/jetstream
php artisan jetstream:install inertia --ssr --dark
npm install
npm run build
php artisan migrate
npm run dev
php artisan serve --port=8000 --host=192.168.0.8
2Doyo commented
i am sorry, i forgot this script on vite config 😂
export default defineConfig({
server: {
host: '192.168.0.8', <-- this one
port: 3000,
},
...
});