VETO87's avatar

Laravel vuejs or blade ?

Hi, I'm familiar with laravel blade and I think it's good for me :), Anyway i didn't use vuejs is it better than blade? should I use it? is there performance advantage?

0 likes
2 replies
johnDoe220's avatar

You could build your complete application with vue.js and use Laravel only for the API.

It depends how complex your app is. If you want to build your complete app with vuejs, you dont need blade. Just use vue components / modules / templates

And you also dont need ajax to get results, just use vue-resource https://github.com/vuejs/vue-resource To get your url structure use vue-router https://github.com/vuejs/vue-router

drehimself's avatar

At some point, you're going to need some interactivity using JavaScript in your apps. Vue, React, or even Alpine/Livewire are all great choices.

If you decide to go with Vue or React, using Inertia with Laravel is a popular choice: https://inertiajs.com/

1 like

Please or to participate in this conversation.