Skip to content

NG2 TIPS

rxjs-space edited this page Nov 17, 2016 · 2 revisions
  1. Get Augury to Show the Routes:

    To view the router graph inject the Router in the application root component as shown below (it must be named router exactly).

    export default class KitchenSink {
      constructor(private router: Router) {
      }
    }
  2. When using Universal, disregard the error in node when lazy routes are requested and follow this issue.

Clone this wiki locally