how to install bootstrap in angular

how to install bootstrap in angular

Techy Solutions

55 лет назад

157 Просмотров

How to install bootstrap in angular application

Step 1 : Bootstrap commands
~ npm i [email protected] ( 5.3 is version )
~ npm i bootstrap@latest ( latest version )

Step 2 : Check package.json for bootstrap version

Step 3 : Add Links in anguler.json
"styles": [
"src/styles.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css"
],
"scripts": [
"node_modules/bootstrap/dist/js/bootstrap.bundle.js",
"node_modules/bootstrap/dist/js/bootstrap.min.js"
]

Step 4 : Restart application ( 3 ways )
~ npm start | npm start - - o
~ ng serve | ng serve - - o
Note : ( - - o ) means open default browser

Thanks for watching this video 😊 If you like this video then like, share and comment..

#install
#bootstrap
#angular
#version
#coding
#installation
#information
Ссылки и html тэги не поддерживаются


Комментарии: