Skip to content

Angular2

Tiberiu Hudema edited this page Apr 19, 2017 · 2 revisions

INSTALL

  1. Install NodeJS
  2. Open a terminal/cmd. Type 'npm install -g @angular/cli'

CREATE A NEW PROJECT

From cmd, navigate to the folder where you want to create a new project. Then type 'ng new '. For testing if it worked, enter in the new created folder. Type 'ng serve', this will start the project. By default, it can be found on port 7001, so after receiving a message that the application is serving on that port (do not end the cmd/terminal process, you need it running in order to see the page) go to 'http://localhost:7001/'.

Clone this wiki locally