ng:create_a_new_project

Create a New Project

Here we will create a front end call my-app, and run it as a serve. You can visit it with a web browser at http://127.0.0.1:4200 afterward. 127.0.0.1 is the local host of your computer, and 4200 is the default angular serve port. This setting is good for developing and debugging. Note that create a new app take time for angular cli to download the dependencies from the web.

  1. Open a terminal (cmd), and type the following:
  2. ng new my-app
  3. cd my-app
  4. ng serve
  • ng/create_a_new_project.txt
  • Last modified: 2018/12/21 09:58
  • by chongtin