DEV Community

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

Posted on

1

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

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (1)

Collapse
 
aniruddhaadak profile image
ANIRUDDHA ADAK β€’

Absolutely incredible! 😻.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more