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.
- Open a terminal (cmd), and type the following:
ng new my-app
cd my-app
ng serve