From 93e2735d35d936226ea56dcb6517b28fa095200d Mon Sep 17 00:00:00 2001 From: Andrew Kushnir Date: Tue, 6 May 2025 10:52:11 -0700 Subject: [PATCH] Revert "docs(docs-infra): fix first-app intro example (#61042)" (#61145) This reverts commit ab91a355f8807eb1aa10b4e1f6e2582afb6a0902. Revert reason: the change causes CI to fail (the `lint` CI job). PR Close #61145 --- .../content/tutorials/first-app/intro/app.component.ts | 9 --------- adev/src/content/tutorials/first-app/intro/config.json | 5 +++-- 2 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 adev/src/content/tutorials/first-app/intro/app.component.ts diff --git a/adev/src/content/tutorials/first-app/intro/app.component.ts b/adev/src/content/tutorials/first-app/intro/app.component.ts deleted file mode 100644 index 5321711c297..00000000000 --- a/adev/src/content/tutorials/first-app/intro/app.component.ts +++ /dev/null @@ -1,9 +0,0 @@ -import {Component} from '@angular/core'; - -@Component({ - selector: 'app-root', - template: ` - Welcome to Angular! - `, -}) -export class AppComponent {} diff --git a/adev/src/content/tutorials/first-app/intro/config.json b/adev/src/content/tutorials/first-app/intro/config.json index ec33a37867b..d60096b3ca1 100644 --- a/adev/src/content/tutorials/first-app/intro/config.json +++ b/adev/src/content/tutorials/first-app/intro/config.json @@ -1,6 +1,7 @@ { "title": "Your first Angular app", "type": "editor", - "nextTutorial": "first-app", - "openFiles": ["app.component.ts"] + "src": "../steps/14-http/src", + "nextTutorial": "learn-angular", + "openFiles": ["src/app/app.component.ts"] }