Skip to content

Commit a4c9f1d

Browse files
jacobfikejelbourn
authored andcommitted
docs (getting-started): add missing step for using md-icon (#786)
The getting started doc is missing a step in the "Additional steps for md-icon setup:" section. This leads to an error in the browser and the app failing to load.
1 parent fda031f commit a4c9f1d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

GETTING_STARTED.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,17 @@ bootstrap(MyAppComponent, [
176176
directives: [MD_CARD_DIRECTIVES, MD_BUTTON_DIRECTIVES, MdIcon],
177177
providers: [MdIconRegistry]
178178
```
179-
179+
180+
- Add the icon package to the list of Material components in your `system-config.ts`:
181+
182+
**src/system-config.ts**
183+
```ts
184+
// put the names of any of your Material components here
185+
const materialPkgs:string[] = [
186+
...
187+
'icon'
188+
];
189+
```
180190

181191

182192

0 commit comments

Comments
 (0)