Mastering Angular Components
上QQ阅读APP看书,第一时间看更新

Running the application

To make sure our modifications to the main component, AppComponent, are working as expected and we didn't break anything, let's start our application using the Angular CLI. Open a command line and point it to your project directory. Then, start the CLI in serve mode:

ng serve

If everything goes well, you will have an open web browser that shows Welcome to mac!.