Angular 5 with Angular cli non-lazy loading modules in the router

前端 未结 1 2011
眼角桃花
眼角桃花 2021-02-04 19:00

Building an angular5 app. The app requires a few alternate layouts.

My approach is to handle the high level routing in the main app module routing file. The said file wi

相关标签:
1条回答
  • 2021-02-04 19:38

    I'm experiencing the same issue. This could be a bug with the angular-cli. I'm still not sure whether the bug is in the cli or in our code!

    As mentioned by Gerrit on the other question here it's still possible to compile with aot: ng serve --aot

    I've also resolved the issue by downgrading my angular-cli as mentioned on github from 1.7.2 to 1.6.8, which is the last CLI-Version which seems to work in our case.

    0 讨论(0)
提交回复
热议问题