parent
46f547499d
commit
6da19599de
|
@ -1,9 +1,9 @@
|
||||||
# Opting into Angular Ivy with Angular CLI
|
# Opting into Angular Ivy
|
||||||
|
|
||||||
Ivy is the code name for Angular's [next-generation compilation and rendering pipeline](https://blog.angular.io/a-plan-for-version-8-0-and-ivy-b3318dfc19f7). Starting with Angular version 8, you can choose to opt in to start using Ivy now, and help in its continuing develpment and tuning.
|
Ivy is the code name for Angular's [next-generation compilation and rendering pipeline](https://blog.angular.io/a-plan-for-version-8-0-and-ivy-b3318dfc19f7). Starting with Angular version 8, you can choose to opt in to start using Ivy now, and help in its continuing develpment and tuning.
|
||||||
|
|
||||||
|
|
||||||
## Starting a new project using Ivy
|
## Using Ivy in a new project
|
||||||
|
|
||||||
To start a new project with Ivy enabled, use the `--enable-ivy` flag with the [`ng new`](cli/new) command:
|
To start a new project with Ivy enabled, use the `--enable-ivy` flag with the [`ng new`](cli/new) command:
|
||||||
|
|
||||||
|
@ -11,11 +11,10 @@ To start a new project with Ivy enabled, use the `--enable-ivy` flag with the [`
|
||||||
ng new shiny-ivy-app --enable-ivy
|
ng new shiny-ivy-app --enable-ivy
|
||||||
```
|
```
|
||||||
|
|
||||||
The new project is automatically configured for Ivy.
|
The new project is automatically configured for Ivy. Specifically, the enableIvy option is set to `true` in the project's `tsconfig.app.json` file.
|
||||||
- The `enableIvy` option is set to `true` in `tsconfig.app.json`.
|
|
||||||
|
|
||||||
{@a updating}
|
|
||||||
## Updating an existing project to use Ivy
|
## Using Ivy in an existing project
|
||||||
|
|
||||||
To update an existing project to use Ivy, set the `enableIvy` option in the `angularCompilerOptions` in your project's `tsconfig.app.json`.
|
To update an existing project to use Ivy, set the `enableIvy` option in the `angularCompilerOptions` in your project's `tsconfig.app.json`.
|
||||||
```json
|
```json
|
||||||
|
|
Loading…
Reference in New Issue