inertia-laravel
inertia-laravel copied to clipboard
The Laravel adapter for Inertia.js.
I don't know where correct place this discussion. So moderators, please guide me to post this at correct channel. Inertia shares data between server and client storing data over tags...
For a browser refresh after a release it would be better to check the file change date of the file "mix-manifest.json" than make md5 of its content. The following code...
What is this for? I don't like that ide underlines my code. 
This commit allows to start the runtime with specific options. For example by running `php artisan inertia:start-ssr --runtime_options=--max-old-space-size=4096 ` one can explicitly configure the memory limit and execute something like:...
Use case: redirecting to an affiliate link - to stop these links being indexed in search engines, we can send the `X-Robots-Tag: nofollow` response header. This PR allows this. https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag
Even though I'm using Laravel, not all objects I'm passing as props are aware of `Arrayable`. In some cases, I'd like to be able to keep my objects closer to...
Inertia uses 409 as the status code for redirection. When writing tests in Laravel with ``` $this->post('/', headers: ['X-Inertia' => true])->assertRedirect('/redirected'); ``` The test will fail because Laravel relies on...
### Summary - Wrap the config values for `inertia.ssr.enabled` and `inertia.ssr.url` with environment variables: - `INERTIA_SSR_ENABLED`, with default value of `true` - `INERTIA_SSR_URL`, with default value of `http://127.0.0.1:13714` ### Why?...
Got an error like the one below, so I have realized that `process.env.NODE_ENV === 'production'` checks always detect that the environment is not production on the SSR node server, sometimes...