angular: App module documentation example missing app component import
I’m submitting a…
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Feature request
[ x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
The documentation at https://angular.io/guide/architecture-modules#ngmodule-metadata shows an example of an app module. There is no import for app component.
Expected behavior
I think import app component needs to be added near top of app module if I understand correctly.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
n/a
Environment
Angular version: X.Y.Z
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (15 by maintainers)
@kapunahelewong, Same story here what you have told in the starting of your talk 😛. Nice talk, it really helped. Thanks for sharing.