Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SSR Node.js service command #265

Open
CabbagePenetrator opened this issue Oct 30, 2022 · 0 comments
Open

Update SSR Node.js service command #265

CabbagePenetrator opened this issue Oct 30, 2022 · 0 comments

Comments

@CabbagePenetrator
Copy link

I'm using the Laravel Breeze Inertia starter kit.

On the server-side rendering page here
https://inertiajs.com/server-side-rendering

the docs say to use this command
node public/js/ssr.js

Building the assets with npm run build does not generate a public/js/ssr.js file.

I need to run this command to start the Node service
node bootstrap/ssr/ssr.mjs

I think the docs should be updated to mention this command for people using Vite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant