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

iabrar95's avatar

Can I use Vue and react together with Laravel?

I wanted to know if it possible to use Vue and react together with Laravel? Like my application is already done with Vue and I want to add new page for video call with react can this be possible?

0 likes
2 replies
bobbybouwmann's avatar
Level 88

Sure, as long as you compile your assets correctly. You can compile multiple javascript files using Laravel Mix and give them a different name. This way you can include both of them.

In general, it's recommended to stick with one framework because you will load a lot more javascript on the page with two frameworks. I can't imagine that you can't make a video call work in Vue, but I also understand that React probably makes this easier ;)

Is there a reason why you don't build everything in React? Or do you already have a part done in Vue?

3 likes
iabrar95's avatar

I already finished the project with Vue. I tried to make the video call with Vue but it did not work

Please or to participate in this conversation.