-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(Getting Started): Updated material Getting Started guide to use install schematics and simplify the overall process #16654
Conversation
This comment has been minimized.
This comment has been minimized.
86041ab
to
0963296
Compare
This comment has been minimized.
This comment has been minimized.
The failing It looks like I don't have permission to re-run the workflow, but that should hopefully resolve itself after your next push. |
We should add a section to address these issues |
All review comments addressed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The initial/primary commit message should include the following footer:
Fixes #14380. Fixes #16426.
``` | ||
|
||
Alternatively, you can create a separate NgModule that imports and then re-exports all of the Angular Material components that you will use in your application. By exporting them again, other modules can simply include your `CustomMaterialModule` wherever Material components are needed, and automatically get all of the exported Material modules. A good place for importing/exporting the application-wide Material modules is the [SharedModule](https://angular.io/guide/ngmodule-faq#sharedmodule). | ||
You need to import the `MatSliderModule` that you want to display by adding the following lines to your app.module.ts file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that it may be a better getting started experience for new users if they generated a nav via the nav schematic (ng g @angular/material:nav nav
).
They would only need one additional step to replace their app.component.html
with the <app-nav></app-nav>
component after they created it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I discussed this with Jeremy and we decided to go with the MatSlider as the nav looks a bit out of place on the demo page. I'm back in the office and will address the other comments and submit my changes.
FYI Manu's OOO this week |
Review comments addressed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…install schematics and simplify the overall process (#16654) * docs: rewrite getting started guide to use CLI schematics * docs(Getting Started): Moving HammerJS install to appendix * docs(Getting Started): Moving HammerJS install to appendix * docs(Getting Started): Moving HammerJS install to appendix (cherry picked from commit ca7fff5)
…install schematics and simplify the overall process (angular#16654) * docs: rewrite getting started guide to use CLI schematics * docs(Getting Started): Moving HammerJS install to appendix * docs(Getting Started): Moving HammerJS install to appendix * docs(Getting Started): Moving HammerJS install to appendix
improvements to header hierarchy and auto-generated anchors - new anchor `/guide/getting-started#step-1` - old anchor `/guide/getting-started#step-1-install-angular-material-npm-packages` add link to hammerjs appendix entry builds upon changes in PR #16654
improvements to header hierarchy and auto-generated anchors - new anchor `/guide/getting-started#step-1` - old anchor `/guide/getting-started#step-1-install-angular-material-npm-packages` add link to hammerjs appendix entry builds upon changes in PR #16654
improvements to header hierarchy and auto-generated anchors - new anchor `/guide/getting-started#step-1` - old anchor `/guide/getting-started#step-1-install-angular-material-npm-packages` add link to hammerjs appendix entry builds upon changes in PR #16654
improvements to header hierarchy and auto-generated anchors - new anchor `/guide/getting-started#step-1` - old anchor `/guide/getting-started#step-1-install-angular-material-npm-packages` add link to hammerjs appendix entry builds upon changes in PR #16654
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Closes #16426 (Rewrite getting started guide)