Bootstrap with Laravel 9 - 2 Easy Steps | RaheelKhan

Bootstrap with Laravel 9 - 2 Easy Steps | RaheelKhan

RaheelKhan

2 года назад

12,265 Просмотров

As Laravel 9 supports tailwindCss by default but many folks are not happy with that because there is a huge community of bootstrap with Laravel including me, we all are used to bootstrap with Laravel.

In this video, I demonstrated, how to install bootstrap in Laravel 9 in 2 easy steps.

First, you have to install the Laravel and run a command in your terminal to require the UI package from Laravel.

These are the following commands you need to run;

1. composer require laravel/ui

2. php artisan ui bootstrap or php artisan ui bootstrap --auth

3. npm install

4. npm run dev (you might want to re-run this command in case Laravel mix error. )

If you have any questions, please don't hesitate to ask in the comments.
Ссылки и html тэги не поддерживаются


Комментарии:

asdfghj
asdfghj - 22.05.2023 02:28

i didn't get any error but the bootstrap still doesn't work :(

Ответить
Mwaura Kennedy
Mwaura Kennedy - 21.10.2022 18:53

GOD DID🤝

Ответить
Ryan Salem
Ryan Salem - 08.09.2022 11:08

If i install laravel 9 ,and run the npm run dev. its not mix but vite .

Ответить
DEV2 - NGEN IT
DEV2 - NGEN IT - 20.08.2022 11:58

When I run the
composer require/ui
I get error -> Your requirement could not be resolved to an installable set of packages.

Ответить
Javier C
Javier C - 08.07.2022 04:50

Thanks you !!

Ответить