![]() In the output, you’ll see the address your application is getting served at. If you go into the root directory of the project you just created and enter the command ng serve, angular-cli will compile your project and start serving it. With those simple steps, you have a new Angular 2 project. ![]() Linux users will want to run this command with sudo. The steps to installing Angular 2 are simple: Although it is still in beta, angular-cli is a great way to set up an Angular 2 project and avoid manually copying and pasting configuration files just to get your project to build. Luckily the Angular 2 team has provided a command line tool, angular-cli, to help ease the pain. Setting up a “modern” front end application in 2016 can be painful.
0 Comments
Leave a Reply. |