填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

ROUTER_INITIALIZER

一个代表路由器初始化器的令牌,应用引导完毕后就会调用它。

A DI token for the router initializer that is called after the app is bootstrapped.

      
      const ROUTER_INITIALIZER: InjectionToken<(compRef: ComponentRef<any>) => void>;