Posts

Showing posts with the label bootstrap in angular project

Bootstrap in angular project

Image
  In this tutorial I will show how to add bootstrap in angular project to and will be using bootstrap css in further tutorial.  There are different ways through which bootstrap can be referenced in our angular project 1. Installing Bootstrap from npm using the  npm install  command,  2 .Downloading Bootstrap files and adding them to the  src/assets    3. Using Bootstrap from a CDN Installing Bootstrap from npm using the  npm install  command  : open new terminal->and type “ npm install –save bootstrap ” . by this command latest bootstrap version will be added inside  node_modules/bootstrap  , also package reference will be added inside  package.json  file , apart from this you need to install jQuery by below commands: 1 npm install --save jquery after installing of above two we need to tell angular cli from where bootstrap referenced should be taken , to do this open  angular.json  file and add as be...