mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The getting-started tutorial at angular.io/start instructs users to generate a `ProductAlertsComponent` using the "Angular generator" feature in [StackBlitz](https://stackblitz.com/). However, unlike the Angular CLI, generating a component in StackBlitz does not automatically declare it in `AppModule`, which is a requirement for the component to be used in the application. This resulted in a compile error when following the tutorial instructions. This commit fixes this by adding a step to manually import and declare the newly generated component in `app.module.ts`. Fixes #43020 Closes #43212 PR Close #43229 |
||
|---|---|---|
| .. | ||
| index.md | ||
| start-data.md | ||
| start-deployment.md | ||
| start-forms.md | ||
| start-routing.md | ||