1 | The `grid` entrypoint contains all of the CSS Grid APIs provided by the
|
2 | Layout library. This includes directives for flexbox containers like
|
3 | `gdArea` (a.k.a. `GridAreaDirective`) and children like `gdRow`
|
4 | (a.k.a. `GdRowDirective`). The main export from this entrypoint is the
|
5 | `GridModule` that encapsulates these directives, and can be
|
6 | imported separately to take advantage of tree shaking.
|
7 |
|
8 | ```typescript
|
9 | import {NgModule} from '@angular/core';
|
10 | import {GridModule} from '@angular/flex-layout/grid';
|
11 |
|
12 | @NgModule(({
|
13 | imports: [
|
14 | ... other imports here
|
15 | GridModule,
|
16 | ]
|
17 | }))
|
18 | export class AppModule {}
|
19 | ```
|