I'm currently building a SPA with vue and installed jetstream (that comes with fortify) and using inertiajs to get my vue components. Is there a way to use inertia::render('') when i use Fortify::loginView()?
I'm currently building a SPA with vue and installed jetstream (that comes with fortify) and using inertiajs to get my vue components. Is there a way to use inertia::render('') when i use Fortify::loginView()?
I have it working right now by requiring Intertia in the FortifyServiceProvider, and just calling an Inertia render like normal.
Fortify::loginView(function () {
return Inertia::render('Login');
})
I wanted to do the same thing, but looking at the current documentation, I don't think it's possible.
https://jetstream.laravel.com/1.x/features/authentication.html#views