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

krrish's avatar

Is Vue.js important in Laravel?

I am currently using Laravel's Blade template for the frontend, but in many tutorials and projects I have seen that they are using Vue to handle the frontend so basically I am confused that should I learn the Vue and use it cause everyone uses it or things can also done with blade?. Like using Vue rather than the blade can done many things easily and thus people uses it? Or any other reason.

Vue.js is a framework of JavaScript and I don't know React or Angular so should I start learning Vue, why?

0 likes
4 replies
kokoshneta's avatar

It’s a commonly used Framework, especially if you’re making SPAs (Single Page Applications), but it’s not a necessity. I personally don’t like SPAs and have never used Vue (or Angular, for that matter).

OussamaMater's avatar

Have a look at Livewire first; it's easy to learn, provides the SPA feeling, and offers all the good stuff.

If, at any point, your UI becomes complex and highly interactive, then you can consider learning Vue. It integrates well with Laravel and, in my opinion, is much easier than React or Angular.

jagged_little_phil's avatar
Level 3

With a new JS framework coming out every other week, it's hard to know what to use. :)

Vue got popular because it used to be very easy to add bits and pieces of it on a page without much complication. Nowadays, though, most JS frameworks require you to have a build system setup and so it's a little trickier because you need to compile it down to an older form of JavaScript that will run in more browsers - or if you're using TypeScript to convert it from TS to JS.

React and Vue are the front-end libraries that I see the most on PHP applications. You tend to see Angular more in the Java and C#/.NET communities.

If I were you, I would start with either Vue with the composition API, or React with hooks. They are both pretty similar and once you learn one it's much easier to transition to the next one.

Angular is very different from both, and it's also going through a major overhaul that is supposed to be revealed sometime this week I think.

If you go here, you can try out both Vue and React if you use click "Build Chirper with Inertia": https://bootcamp.laravel.com/

Inertia is a way to use both of those libraries as a substitute for a Blade template, and you can learn a good bit about how they work from that short tutorial.

1 like
Randy_Johnson's avatar

Hey man just use ReactJS then you can use React Native for mobile dev.

Please or to participate in this conversation.