Sunday, January 22, 2017

Create New Angular 2 project with Angular-CLI




It takes some time, when your application builds successful you will get following at your screen:

Then you are ready to launch your application on browser, Open your browser and type localhost:4200:
Find following the screen shot of same:



For more information, click official website: https://cli.angular.io/

----------------------------------------------------------------------------------------------------------------

How to create a new project with custom prefix i.e. instead of app it should be bs?

How to set default style at the time of creating new project i.e. instead of css it should be sass or less?


ng new BattleShip --prefix=bs --style=sass

2 comments:

  1. Thanks Mr. Dinesh Chopra

    I was confused earlier, i didn't know that how to start with Angular2. Just after go through this article, it was so easy for me to go ahead. N also I am waiting for your next article, Thanks Again........ GAUTAM BARNELA

    ReplyDelete
  2. Nice post ! Thanks for sharing valuable information with us. Keep sharing.. AngularJS Online Training

    ReplyDelete