From 88a2c92f87d6bb9f94edc4826e366bdb7d3595bf Mon Sep 17 00:00:00 2001 From: Jake Spievak Date: Sat, 29 Mar 2025 11:58:45 -0700 Subject: [PATCH] docs: update the first app tutorial to include a note about importing NgFor directive (#60627) PR Close #60627 --- adev/src/content/tutorials/first-app/steps/08-ngFor/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/adev/src/content/tutorials/first-app/steps/08-ngFor/README.md b/adev/src/content/tutorials/first-app/steps/08-ngFor/README.md index c711d4aaf71..cf2b1a05ce4 100644 --- a/adev/src/content/tutorials/first-app/steps/08-ngFor/README.md +++ b/adev/src/content/tutorials/first-app/steps/08-ngFor/README.md @@ -39,6 +39,8 @@ Now the app has a dataset that you can use to display the entries in the browser Note, in the code `[housingLocation] = "housingLocation"` the `housingLocation` value now refers to the variable used in the `ngFor` directive. Before this change, it referred to the property on the `HomeComponent` class. + IMPORTANT: Don't forget to import the `NgFor` directive in your `HomeComponent` class. + 1. Save all changes. 1. Refresh the browser and confirm that the app now renders a grid of housing locations.