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

Add support for Inertia.js SSR #86

Merged
merged 7 commits into from
Mar 17, 2024
Merged

Conversation

mehrancodes
Copy link
Owner

Fixes #83

Add the new env 'INERTIA_SSR_ENABLED=true' to enable Inertia.js SSR support via Laravel Harbor.

Laravel Harbor automatically adds a new Daemon for Inertia command php artisan inertia:start-ssr as well as including the command php artisan inertia:stop-ssr to the deploy script (if it not exist).

Due to the fact that the Laravel Forge does not provide support for enabling Inertia.js SSR via their API, Laravel Harbor adds support for it manually.

@mehrancodes mehrancodes self-assigned this Mar 17, 2024
@mehrancodes mehrancodes merged commit 3ae0ef3 into main Mar 17, 2024
1 check passed
@mehrancodes mehrancodes deleted the add-support-for-inertia-ssr branch March 17, 2024 15:47
@mehrancodes mehrancodes changed the title Add support for inertia ssr Add support for Inertia.js SSR Mar 17, 2024
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

Successfully merging this pull request may close these issues.

Feature: Add support for Inertia.js SSR daemon
1 participant