【发布时间】:2020-04-01 14:42:08
【问题描述】:
我正在尝试使用 ng build --prod 来使用 AOT 编译。我不知道我做错了什么。
项目网址-https://github.com/nishant1596/sampleAOT
请帮忙,在此先感谢
【问题讨论】:
标签: angular angular-cli aot angular-compiler
我正在尝试使用 ng build --prod 来使用 AOT 编译。我不知道我做错了什么。
项目网址-https://github.com/nishant1596/sampleAOT
请帮忙,在此先感谢
【问题讨论】:
标签: angular angular-cli aot angular-compiler
我正在使用这种形式的lazyLoading -
loadChildren : ()=> import ('./home/home.module').then(m=>m.HomeModule)
而不是
loadChildren : './home/home.module#HomeModule'
【讨论】: