Angular 8 Lazy Loading Syntax Not Working

后端 未结 4 1377
时光说笑
时光说笑 2021-01-11 23:59

I\'m trying to implement Lazy loading into my Angular 8 application but when I use the syntax provided in the official doc, my module gets loaded eagerly.

When I use

4条回答
  •  余生分开走
    2021-01-12 00:52

    Issue for me was in the tsconfig.json. Once I updated the property "module" to "esnext", it worked fine.

提交回复
热议问题