-
Notifications
You must be signed in to change notification settings - Fork 12
AngularCLI
angelozerr edited this page Jun 21, 2016
·
7 revisions
angular-cli is a wonderful CLI tooling to generate an Angular2 project, components, services, etc, start a server, etc. The use of this project requires:
- installation of node.js.
- installation of angular-cli with
npm install -g angular-cli. After that you benefit withngcommand (ex:ng new myprojectgenerates you an Angular2 project)
It is recommended to use angular-cli when you wish to generate an Angular2 project, components, services, etc because it follow the whole Angular2 recommendation and provide command like ng serve which starts your application with a server which supports Live Reloading (if you change your CSS, ts files in your Eclipse workspace, the browser is refrehsed with your changes).
Angular2 IDE provides 2 means to consume angular-cli:
- with a Terminal which is integrated when you install Eclipse JEE Distribution.
- with Eclipse Wizards.