Inertia SSR not working, page source does not display html elements. #2557
Unanswered
omerfdmrl
asked this question in
Help (React)
Replies: 1 comment
-
Do you mean the page body is empty? How is your setup? When you use Docker, make sure they are in the same network. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
app.jsx;
ssr.jsx;
vite.config.js;
@inertiajs/react": "^2.1.3"
I'm running
vite build && vite build --ssr
successfully. And I'm runningphp artisan inertia:start-ssr
and it's works well. Then when I go to 127.0.0.1:8000, site works perfectly. Bu in page source, body just have<div id="app" data-page="..." ></div>
. I'm running ssr but it's not working. How can I fix it?Beta Was this translation helpful? Give feedback.
All reactions