DEV Community

Cover image for How to Install Bootstrap 5 in Laravel 11 with Vite?
Saddam Hossain
Saddam Hossain

Posted on

How to Install Bootstrap 5 in Laravel 11 with Vite?

In this post, I will show you How to Install Bootstrap 5 in Laravel 11 with Vite.

If you want to install bootstrap 5 using vite in laravel 11. Then i will help you to explain step by step add bootstrap 5 with npm vite. so, let’s follow the below step to add bootstrap in laravel 11 application. You can learn Laravel 11 Display Image from Storage Folder Example

Let’s see the following steps :

Step for How to Install Bootstrap 5 in Laravel 11 with Vite

Step 1: Install Laravel 11

This step is not required; however, if you have not created the Laravel app, then you may go ahead and execute the below command:

composer create-project laravel/laravel example-app
Enter fullscreen mode Exit fullscreen mode

Step 2: Install Laravel UI Package

Here, we will install laravel ui package that allow to install bootstrap with auth. so, let’s run following command:

composer require laravel/ui
Enter fullscreen mode Exit fullscreen mode

Read More

Top comments (1)

Collapse
 
aniruddhaadak profile image
ANIRUDDHA ADAK

Absolutely incredible! 😻.