Initializing Angular app

Now, we will initialize the application for development using npx, which is already installed on your system when you installed the latest version of Node LTS:

  1. Under your dev folder, execute npx @angular/cli new local-weather-app
  2. On your terminal, you should see a success message similar to this:
...    create local-weather-app/src/tsconfig.app.json (211 bytes)  create local-weather-app/src/tsconfig.spec.json (283 bytes)  create local-weather-app/src/typings.d.ts (104 bytes)  create local-weather-app/src/app/app.module.ts (316 bytes)  create local-weather-app/src/app/app.component.html (1141 bytes)  create local-weather-app/src/app/app.component.spec.ts (986 bytes) create local-weather-app/src/app/app.component.ts (207 ...

Get Angular 6 for Enterprise-Ready Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.