1 | # Apollo Angular Schematics
|
2 |
|
3 | A collection of Schematics for Apollo Angular.
|
4 |
|
5 | ## Collection
|
6 |
|
7 | ### ng add
|
8 |
|
9 | Add Apollo Angular and its dependencies and configures the application.
|
10 |
|
11 | - Adds the following packages as dependencies to `package.json`:
|
12 | - apollo-angular
|
13 | - @apollo/client
|
14 | - graphql
|
15 | - Adds `GraphQLModule` with required setup to use the plugin.
|
16 | - Imports `GraphQLModule` in the root NgModule (`AppModule`).
|
17 | - Imports `HttpClientModule` in the root NgModule (`AppModule`).
|
18 |
|
19 | Command: `ng add apollo-angular`
|