Skip to content

Commit e7229a8

Browse files
devversionjelbourn
authored andcommitted
docs: getting-started guide should not recommend primary entry-point (#16947)
Currently it looks like the getting-started guide recommends using the primary entry-point for importing the slider module. Instead we should use the secondary entry-point to align the guide with the upcoming V9 breaking change.
1 parent 1ec2d9e commit e7229a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Let's display a slider component in your app and verify that everything works.
5353
You need to import the `MatSliderModule` that you want to display by adding the following lines to your app.module.ts file.
5454

5555
```ts
56-
import { MatSliderModule } from '@angular/material';
56+
import { MatSliderModule } from '@angular/material/slider';
5757
5858
@NgModule ({....
5959
imports: [...,
@@ -93,4 +93,4 @@ HammerJS can be installed using the following npm command:
9393

9494
```ts
9595
import 'hammer.js';
96-
```
96+
```

0 commit comments

Comments
 (0)