Skip to content

Commit 424a465

Browse files
committed
fix(@schematics/angular): update default app component welcome message
Aligns the inline welcome message with the external template for consistency. Closes #32176
1 parent 54f0eb6 commit 424a465

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/schematics/angular/application/files/module-files/src/app/app__suffix__.ts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Component, signal } from '@angular/core';
33
@Component({
44
selector: '<%= selector %>',<% if(inlineTemplate) { %>
55
template: `
6-
<h1>Welcome to {{ title() }}!</h1>
6+
<h1>Hello, {{ title() }}</h1>
77

88
<% if (routing) {
99
%><router-outlet /><%

packages/schematics/angular/application/files/standalone-files/src/app/app__suffix__.ts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { RouterOutlet } from '@angular/router';<% } %>
55
selector: '<%= selector %>',
66
imports: [<% if(routing) { %>RouterOutlet<% } %>],<% if(inlineTemplate) { %>
77
template: `
8-
<h1>Welcome to {{ title() }}!</h1>
8+
<h1>Hello, {{ title() }}</h1>
99

1010
<% if (routing) {
1111
%><router-outlet /><%

0 commit comments

Comments
 (0)