Skip to content

Commit 435e0d9

Browse files
amiral84kara
authored andcommitted
docs(getting_started): update systemjs section (#1827)
1 parent 7572e34 commit 435e0d9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

GETTING_STARTED.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,20 @@ Add HammerJS to your application via [npm](https://www.npmjs.com/package/hammerj
4646
(such as the [Google CDN](https://developers.google.com/speed/libraries/#hammerjs)), or served
4747
directly from your app.
4848

49+
## Configuring SystemJS
50+
If your project is using SystemJS for module loading, you will need to add `@angular/material`
51+
to the SystemJS configuration:
52+
53+
```js
54+
System.config({
55+
// existing configuration options
56+
map: {
57+
...,
58+
'@angular/material': 'npm:@angular/material/material.umd.js'
59+
}
60+
});
61+
```
62+
4963
### [Optional] Using Material Design icons with `md-icon`:
5064

5165
- If you want to use Material Design icons in addition to Angular Material components,

0 commit comments

Comments
 (0)