Skip to content

Commit c618f85

Browse files
Heoandrewseguin
authored andcommitted
docs(guide): remove .forRoot() in guide
In beta 2.0.0-beta.2, forRoot is deprecated.
1 parent 0884afa commit c618f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ npm install --save @angular/material
2727
import { MaterialModule } from '@angular/material';
2828
// other imports
2929
@NgModule({
30-
imports: [MaterialModule.forRoot()],
30+
imports: [MaterialModule],
3131
...
3232
})
3333
export class PizzaPartyAppModule { }

0 commit comments

Comments
 (0)