Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mil_'s avatar
Level 1

Modal when redirecting to blade

Hello,

I have problem with my app when i redirect after login to diffrent VUE Cli app in my project website is in modal view i know its because of redirect to non inertia URL but i dont know how to fix that, you can use this: return Inertia::location($url) but the problem is i am returining blade file in my controller not url.

0 likes
1 reply
fylzero's avatar

Have you tried just using the standard return redirect('/home'); ? If that doesn't work, maybe you could just have Vue window.location.href = https://url.com/home after the response.

Please or to participate in this conversation.