Creating an Angular project

In this chapter, we are going to craft a basic scaffold for our project that suits the needs of our chat application. Let's get started:

  1. Create a new project folder.
  2. Run the following command to initialize a new project:
      ng new chat-app
  1. Regarding the question about Angular routing support, answer Yes or type y:
      Would you like to add Angular routing? (y/N)      y
  1. Regarding the question about stylesheet format, pick SCSS:
      Which stylesheet format would you like to use?      SCSS
  1. In the Angular CLI, you will see the following output:
  1. Try out the app using the ng serve --open command:

We are doing well so far. Now, ...

Get Electron Projects 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.