Commit 571a872
authored
docs: use standalone import in getting-started guide (#32826)
The getting-started guide imported MatSlideToggleModule and mentioned
NgModule as an alternative. Update to import the standalone
MatSlideToggle component directly, which is the recommended pattern
for new Angular applications.
Partially addresses #327091 parent e8d54c3 commit 571a872
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
| 46 | + | |
48 | 47 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 48 | + | |
| 49 | + | |
53 | 50 | | |
54 | 51 | | |
55 | 52 | | |
| |||
0 commit comments