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

ROUTER_INITIALIZER

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

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

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