Saturday, April 06, 2019

Web front end - Angular 2

We are building an application in Angular 2. Writing down som findings to remember. The Angular CLI Command Line Interface that is used for scaffolding new projects and artefacts requires Node.js and NPM (Node Package Manager).

Installation

Node.js and NPM

Installation in Windows is made by downloading the latest installer from: https://nodejs.org/en/download/

Or installing with Chocolatey:
https://chocolatey.org/packages/nodejs

Angular CLI

Install by using NPM:
npm install -g angular-cli

https://github.com/angular/angular-cli#installation

Create a project

To create a new project:
ng new PROJECT_NAMEcd PROJECT_NAME
ng serve


https://github.com/angular/angular-cli#usage

ng new PROJECT_NAME creates the folder structure for the project and downloads the dependencies.
ng serve starts a web server with the project.



ng new TestProj




To be continued....

1 comment:

Karsyn Sava said...

When the agency procedure is completed your website is going to be 100% pleasant.
web design charlotte