0 votes
in Angular by

What is Angular Ivy?

1 Answer

0 votes
by
Angular Ivy is a new rendering engine for Angular. You can choose to opt in a preview version of Ivy from Angular version 8.

You can enable ivy in a new project by using the --enable-ivy flag with the ng new command

ng new ivy-demo-app --enable-ivy

You can add it to an existing project by adding enableIvy option in the angularCompilerOptions in your project's tsconfig.app.json.

{

  "compilerOptions": { ... },

  "angularCompilerOptions": {

    "enableIvy": true

  }

}
...