Angular Create application

  • Install Node from nodejs.org website

      https://nodejs.org/en/download/
    
  • Install angular-cli

     npm install -g angular-cli
    
  • Create application

      ng new ng7forms
      cd ng7forms
      ng serve
    
  • To add bootstrap

      npm install bootstrap --save
    
  • Add below line in angular.json file

      "styles": [
          "./node_modules/bootstrap/dist/css/bootstrap.min.css",
          "src/styles.css"
      ],        
    
  • Run and open the browser

      ng serve -o

Copyright © 2004, Software Groups