Skip to content

Angular Bootstrap

Install bootsrap

Refer to bootstrap-npm for latest bootsrap version.

npm i bootstrap@5.1.3 --save

Install popperjs

npm i @popperjs/core --save

Install typescript definitions for bootstrap

npm i @types/bootstrap --save

Adding the file paths to the styles and scripts array in file .angular-cli.json

 "styles": [
 "scripts": [

In style.css overide the desired variables before importing bootstrap

$modal-fade-transform: scale(.8);

@import "~bootstrap/scss/bootstrap";