reinink / client-side-rendering-in-laravel

199 stars 36 forks source link

how to handle redirect #7

Closed Nothing-Works closed 5 years ago

Nothing-Works commented 5 years ago

any idea how to handle redirect?

reinink commented 5 years ago

Yeah, just with a standard Laravel redirect. This approach uses classic server-side routing, so there's no reason why you can't return a redirect from an endpoint.