cochesaurus's avatar

How to add Vue to Laravel Breeze

Hi, I'm new here and to Laravel as well :) I'm trying to add Vue to my recently created Laravel Breeze setup. I have run commands:

php artisan ui vue
npm install
npm run dev

However, when I ran the last command I see some errors related to webpack.config.js and others. I think because of this when I try to render a Vue component, it didn't show up... Also, it messes up my stylesheets like the ones used for the login/register :(

Thanks for any thoughts on this

-Jose

0 likes
4 replies
cochesaurus's avatar

Thanks. I would like to have both. My application would make use of a modal and other features in Vue.

jlrdw's avatar

Breeze is to scaffold Authentication vue is a separate install.

Or scaffold your app with jetstream.

cochesaurus's avatar

Thanks jlrdw. I understand when running "php artisan ui vue" I'm scaffolding the app which I already did since I'm using breeze. I will try installing Vue separately as suggested in the link you sent earlier.

Please or to participate in this conversation.