You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GETTING_STARTED.md
+16-29
Original file line number
Diff line number
Diff line change
@@ -14,54 +14,37 @@ Get started with Angular Material 2 using the Angular CLI.
14
14
15
15
The new command creates a project with a build system for your Angular app.
16
16
17
-
## Install Angular Material 2 components
18
-
19
-
Angular Material 2 components are set up in separate modules. This allows you to only pull into your app what you need, reducing the size of your app. Components are installed individually. You can see our [list of published packages here](https://www.npmjs.com/~angular2-material).
20
-
21
-
Note that only packages published under the `@latest` npm tag are officially released.
In future releases, all of the core styles will be combined into a single distributed css file.
55
39
56
40
### Additional setup for `md-slide-toggle` and `md-slider`:
57
41
The slide-toggle and slider components have a dependency on [HammerJS](http://hammerjs.github.io/).
58
-
1) Add HammerJS to your application via [npm](https://www.npmjs.com/package/hammerjs), a CDN
59
-
(such as the [Google CDN](https://developers.google.com/speed/libraries/#hammerjs)),
60
-
or served directly from your app.
61
-
2) Include the typings for HammerJS in your typescript build ([more info on @types](https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files))
62
42
43
+
Add HammerJS to your application via [npm](https://www.npmjs.com/package/hammerjs), a CDN
44
+
(such as the [Google CDN](https://developers.google.com/speed/libraries/#hammerjs)), or served
45
+
directly from your app.
63
46
64
-
### Additional setup for`md-icon`:
47
+
### [Optional] Using Material Design icons with`md-icon`:
65
48
66
49
- If you want to use Material Design icons, load the Material Design font in your `index.html`.
67
50
`md-icon` supports any font icons or svg icons, so this is only one potential option.
@@ -70,3 +53,7 @@ The slide-toggle and slider components have a dependency on [HammerJS](http://ha
0 commit comments