Install Bootstrap in Laravel 8

run those commands in your project:

npm install bootstrap
npm install sass
npm install sass-loader

If not exists, create the file


and add this:

@import '~bootstrap';

and last add the compilation in the file webpack.mix.js:

mix.sass('resources/sass/app.scss', 'public/css')

After that compile it with npm run dev and you’ll see public/css/app.css

After that you can add this code to your template to import bootstrap:

<link href="{{ asset('css/app.css') }}" rel="stylesheet">

iGITt iGITt – Initiales

Git global setup
git config --global "User Name"
git config --global ""
Create a new repository
git clone
cd bmln
git switch -c main
git add
git commit -m "add README"
git push -u origin main
Push an existing folder
cd existing_folder
git init --initial-branch=main
git remote add origin
git add .
git commit -m "Initial commit"
git push -u origin main
Push an existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin
git push -u origin --all
git push -u origin --tags