From 10040e99e9f39ff5c9660ddbb0bf32fd938ffc91 Mon Sep 17 00:00:00 2001 From: "yuichi.imori" Date: Wed, 24 Apr 2024 17:39:54 +0900 Subject: [PATCH] docs: Correct code references in Tutorial 01. (#55506) PR Close #55506 --- .../tutorials/first-app/steps/01-hello-world/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adev/src/content/tutorials/first-app/steps/01-hello-world/README.md b/adev/src/content/tutorials/first-app/steps/01-hello-world/README.md index 5090a4aee6f..2db7de503b5 100644 --- a/adev/src/content/tutorials/first-app/steps/01-hello-world/README.md +++ b/adev/src/content/tutorials/first-app/steps/01-hello-world/README.md @@ -87,18 +87,18 @@ In your IDE: 1. In `index.html`, replace the `` element with this code to update the title of the app. - <docs-code header="Replace in src/index.html" path="adev/src/content/tutorials/first-app/steps/01-hello-world/src/index.html" visibleLines="[5]"/> + <docs-code header="Replace in src/index.html" path="adev/src/content/tutorials/first-app/steps/02-HomeComponent/src/index.html" visibleLines="[5]"/> Then, save the changes you just made to `index.html`. 1. Next, open `first-app/src/app/app.component.ts`. 1. In `app.component.ts`, in the `@Component` definition, replace the `template` line with this code to change the text in the app component. - <docs-code header="Replace in src/app/app.component.ts" path="adev/src/content/tutorials/first-app/steps/01-hello-world/src/app/app.component.ts" visibleLines="[7]"/> + <docs-code header="Replace in src/app/app.component.ts" path="adev/src/content/tutorials/first-app/steps/02-HomeComponent/src/app/app.component.ts" visibleLines="[7,9]"/> 1. In `app.component.ts`, in the `AppComponent` class definition, replace the `title` line with this code to change the component title. - <docs-code header="Replace in src/app/app.component.ts" path="adev/src/content/tutorials/first-app/steps/01-hello-world/src/app/app.component.ts" visibleLines="[11]"/> + <docs-code header="Replace in src/app/app.component.ts" path="adev/src/content/tutorials/first-app/steps/02-HomeComponent/src/app/app.component.ts" visibleLines="[12,14]"/> Then, save the changes you made to `app.component.ts`.