Reputation: 11
I want to make a project in Laravel 9 using Breeze, but i can not see any way to include Bootstrap in my project. there are some ways like Jetstrap package, but it replaces complete Vue system with Blade files, which i don't want to do.
Please can you tell me a simple way to use Bootstrap with Breeze (Laravel 9 + Vite).
i am expecting a good solution for my problem.
Upvotes: 0
Views: 7017
Reputation: 197
Our solution for this problem: use tailwind with breeze functions (auth) and views. Use bootstrap for anything else.
We have left untouched the original auth views which breeze has generated upon installation. We don't work with tailwind, but it is unlikely we would ever want to chage the auth views.
Then we have created new layouts based on bootstrap and everything works smoothly. Make sure you exclude the .css and .js from tailwind in your new layouts.
The only disadvantage is that the user will have a different design on login/register and a different one on the production pages. But even then you can apply bootstrap layout and to re-write the auth views.
Upvotes: 0
Reputation: 116
Breeze is made with tailwind not Bootstrap. If u want an auth/login with bootstrap u can use laravel/ui
Upvotes: 3