angular/aio/content/examples/getting-started/src
George Kalpakas dcfabf08af docs: add step to declare ProductAlertsComponent in tutorial (#43229)
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
2021-08-30 13:37:45 -07:00
..
app docs: add step to declare ProductAlertsComponent in tutorial (#43229) 2021-08-30 13:37:45 -07:00
assets docs: add new getting started guide (#27684) 2019-03-29 10:47:37 -07:00
index.html docs: add new getting started guide (#27684) 2019-03-29 10:47:37 -07:00
main.ts docs: add new getting started guide (#27684) 2019-03-29 10:47:37 -07:00