Have u done migrate.?
Laravel 9 + React shown white page in docker
My Laravel 9 + React project shows an empty page on executing "npm run dev" in docker. When I tried the same project by installing it via composer (Not in docker) it works perfectly.
But in the docker, once I executed the below commands
sail artisan breeze: install react
npm run dev
the project shows an empty page
I am using Laravel Framework 9.31.0,PHP 8.1.10, and npm 8.19.2
@Sinnbeck configuration for the port is like below ports: - '${APP_PORT:-80}:80' - '${VITE_PORT:-5173}:${VITE_PORT:-5173}' Anyway I resolved the issue Here is how I executed the npm ./vendor/bin/sail npm run dev And Now I tried simply npm run dev Now it works!. Thank you for the response
Please or to participate in this conversation.