Skip to content

Commit 5586864

Browse files
jelbournmmalerba
authored andcommitted
docs(getting-started): mention import order for BrowserModule (#4291)
Fixes #4278
1 parent 85bc3a6 commit 5586864

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

guides/getting-started.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ import {MdButtonModule, MdCheckboxModule} from '@angular/material';
7272
export class MyOwnCustomMaterialModule { }
7373
```
7474

75+
Whichever approach you use, be sure to import the Angular Material modules _after_ Angular's
76+
`BrowserModule`, as the import order matters for NgModules.
77+
7578
## Step 4: Include a theme
7679

7780
Including a theme is **required** to apply all of the core and theme styles to your application.

0 commit comments

Comments
 (0)