简体   繁体   English

在 Angular 8 Server Side Rendering or Build Production is not working when ivy is enabled

[英]In Angular 8 Server Side Rendering or Build Production is not Working when ivy is enabled

Due to the introduction of Ivy in Angular 8 I cannot harness its capability.由于在 Angular 8 中引入了Ivy ,我无法利用它的能力。 When Ivy is disabled it is working fine.当常春藤被禁用时,它工作正常。

tsconfig.app tsconfig.app

"angularCompilerOptions": { "enableIvy": false } "angularCompilerOptions": { "enableIvy": false }

Yes, unfortunately it will be available to render on server with combination Ivy in version 9, But.是的,不幸的是,它可以在版本 9 中与 Ivy 组合在服务器上呈现,但是。 you can use v9-next(unstable) if that is no problem for you.如果这对您没有问题,您可以使用 v9-next(unstable)。 If I were you I would wait for about a month and v9 stable will be released.如果我是你,我会等一个月左右,v9 stable 会发布。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM