O'Reilly logo

Angular 6 by Example by Kevin Hennessy, Chandermani Arora

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Developing our first component

Now that we have a design for our first component, we’ll start developing it using the Angular Command Line Interface (Angular CLI). The Angular CLI enables us to start building Angular applications and deploying them through a series of console commands. We’ll be covering the Angular CLI in greater detail in future chapters. For now, we will install it and use it to generate a basic application as the beginning point for our first component.

To use the Angular CLI you must first install Node.js and npm (Node's package manager). Node is available cross-platform and you can download it from http://nodejs.org. Installing Node also installs npm. For this book, we are using Node.js version 8.9.4 and npm version ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required