angular/aio/content/examples/getting-started
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
..
e2e/src docs: make all examples compatible with strict mode (#41999) 2021-05-17 10:42:18 -07:00
src docs: add step to declare ProductAlertsComponent in tutorial (#43229) 2021-08-30 13:37:45 -07:00
example-config.json docs: add new getting started guide (#27684) 2019-03-29 10:47:37 -07:00
stackblitz.json build(docs-infra): always specify a landing file for StackBlitz projects (#34553) 2020-01-22 13:45:23 -08:00
tsconfig.0.json build(docs-infra): update docs examples to Angular v11.2.10 (#41689) 2021-04-19 14:18:51 -07:00