Angular 6 for Enterprise:Ready Web Applications
上QQ阅读APP看书,第一时间看更新

Running your Angular app

Run your Angular app to check whether it works. During development, you can execute npm start, through the ng serve command; this action will transpile, package, and serve the code on localhost with live-reloading enabled:

  1. Execute npm start
  2. Navigate to http://localhost:5000
  3. You should see a rendered page similar to this:

Default Angular CLI landing page

  1. Stop your application by pressing Ctrl + C in the integrated terminal.