Angular2 Router error: cannot find primary outlet to load 'HomePage'

后端 未结 4 1435
孤城傲影
孤城傲影 2020-12-03 00:38

I just started using the new routing library (@angular/router v3.0.0-alpha.7) but following the official docs leads to error below:

browser_adapter.ts:74: EX         


        
4条回答
  •  有刺的猬
    2020-12-03 01:08

    I am experiencing this error randomly and only when I publish on the live server. I have never experienced this when working locally. When I say randomly, sometimes it works fine, when I refresh for example, it throws that error mentioned above and just showing symbols on the screen. I am working on Angular 2.

    Any guidance / help will be much appreciated.

提交回复
热议问题