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

guigas's avatar
Level 12

Is it possible to use both blade templates and vue with jetstream?

Most of my pages will be rendered using blade, but there are a couple of them that will be much better using vue components. Can i just use blade templates for everything and install vue along with jetstream?

Should i choose Livewire + Blade scaffolding for that?

0 likes
2 replies
tisuchi's avatar

@guigas In my opinion, it is possible to use both Blade templates and Vue with Jetstream. Jetstream provides a UI scaffold that you can use with either Livewire or with Inertia.js, which is a front-end framework for building single-page apps. If you want to stick with Blade for the majority of your pages but still use Vue for a few components, you can use the Blade templates for your HTML, and write the Vue components that you need as separate .vue files. You can then include those components on your pages where you need them.

If you prefer, you could also use Livewire along with Blade templates. Livewire is a full-stack framework for building dynamic, interactive UIs using Laravel on the back-end and JavaScript on the front-end. With Livewire, you can write dynamic, reactive components using PHP that run on the server and update the page dynamically without a full page refresh. This can be a good choice if you need more dynamic, real-time updates than you can achieve with simple Blade templates.

1 like
guigas's avatar
Level 12

@tisuchi For this project i don't have time to learn livewire, but that does sound like the best option

Please or to participate in this conversation.