#webdevelopment #backend #php #programming #laravel #eloquent #query #artisan #mvc #bootstrap #bootstrap5 #vite
Hi Everyone,
In this video, I'll be show you how you can install bootstrap 5 in Laravel 9 Project using vite instead of Laravel Mix.
Timestamps:
00:00 Introduction
00:20 Step 1: Bootstrap Scaffolding and current issue
01:31 Step 2: Vite Configuration
01:57 Step 3: bootstrap.js
02:26 Step 4: app.js
02:37 Step 5: Using @vite directive
03:08 All done. Bootstrap Working
Add following code in "vite.config.js" below plugins array:
resolve: {
alias: {
'~bootstrap': path.resolve(__dirname, 'node_modules/bootstrap'),
}
}
If you found the content useful, please like the video, subscribe to my channel and Share with others!
.
.
Also, if you have any query feel free to ask down below in the comment section.
.
.
Enjoy the video!
.
.
.
Follow me on Facebook Page:
/ hesantechngaming
And/Or
Follow on Instagaram:
/ _techngaming