inertia-laravel
inertia-laravel copied to clipboard
The Laravel adapter for Inertia.js.
Laravel has transitioned to Vite from Mix. The Inertia installation guide for Laravel is outdated.
There should definitely be an installation guide for Laravel using Vite instead of Laravel Mix. Older projects may still use Mix but more recent projects are using Vite.
This PR adds support for lazy props at any level and retrieving partial data at any depth Eg: `only: ['modal.props.aLazyProp']` or `only: ['allNestedLazyProps.*']` There is support for 2 type of...
I'm working on a Laravel 9, InertiaJS and vue project where a user can submit a new product through `products/create` route and this sends to ProductController@store which does all what...
Hello, I'm considoring a project to use Inertia JS but I could not determine how to partially reload a dynamic layout. In my scenario I would be using a page...
When navigating from one page to another, scroll position is always preserved. Applies to Inertiajs + Reactjs combo only. See example here: https://pingcrm-react.herokuapp.com/ Source code: https://github.com/Landish/pingcrm-react
This pull request intent is to add a new `dumpInertia(string $key = null)` method to TestResponseMacros file. Existing testing methods like `dump()`, `dumpSession()`, `dumpHeaders()` are very convenient in Laravel testing....
Hi, Plz help ! why many times it happes when i make any changes in vue components and also running npm run watch browser shows old content. when i press...
As I understand it, Response should be able to add a cookie with withCookie(). https://www.tutsmake.com/laravel-cookies-get-set-delete-cookies/ However that is a bad call when trying that with Inertia: ``` return Inertia::render('MyView', $props)->withCookie($cookie);...
I'm using [Subfission/CAS](https://github.com/subfission/cas) to authenticate users through middleware in Laravel: `if (!cas()->checkAuthentication()) cas->authenticate();` All works fine until use Link component or partial reloads and cas session has expired. Then get...
Hi, I have a login page: ```vue Log in import layout from '@views/Layouts/Auth' export default { layout, data(){ return { form: this.$inertia.form({ email: '', password: '' }) } }, methods:...