We are providing online training of realtime Live project on Asp.Net MVC with Angular and Web API. For more information click here. If you have any query then drop the messase in CONTACT FORM

Saturday, March 24, 2018

How to install bootstrap in visual studio using angular 2


  1. First go start and search Node.js command prompt and right click and select run as Administrator .


It will open like below window




After that we have to go our project path so we have to use some command 
like below window



After that, we have to our visual  studio location which is created by us


now I am taking my visual studio root location like below





copy and paste this location on command prompt 


And press enter 

After that write npm install bootstrap@3 jquery --save on cmd

and press enter



After that, we check in node_module folder in visual studio





After that drag and drown  our index.html page

  <script src="../node_modules/jquery/dist/jquery.min.js"></script>
      <link href="../node_modules/bootstrap/dist/css/bootstrap.css" rel="stylesheet" />

      <script src="../node_modules/bootstrap/dist/js/bootstrap.js"></script>



No comments: