diff --git a/packages/schematics/angular/application/files/module-files/src/app/app.component.ts.template b/packages/schematics/angular/application/files/module-files/src/app/app.component.ts.template index dc9b64eb10d2..2ca0182a94d3 100644 --- a/packages/schematics/angular/application/files/module-files/src/app/app.component.ts.template +++ b/packages/schematics/angular/application/files/module-files/src/app/app.component.ts.template @@ -11,7 +11,7 @@ import { Component } from '@angular/core'; `,<% } else { %> templateUrl: './app.component.html',<% } if(inlineStyle) { %> styles: []<% } else { %> - styleUrls: ['./app.component.<%= style %>']<% } %> + styleUrl: './app.component.<%= style %>'<% } %> }) export class AppComponent { title = '<%= name %>'; diff --git a/packages/schematics/angular/application/files/standalone-files/src/app/app.component.ts.template b/packages/schematics/angular/application/files/standalone-files/src/app/app.component.ts.template index f79a487e093a..22fabb8ae5fb 100644 --- a/packages/schematics/angular/application/files/standalone-files/src/app/app.component.ts.template +++ b/packages/schematics/angular/application/files/standalone-files/src/app/app.component.ts.template @@ -15,7 +15,7 @@ import { RouterOutlet } from '@angular/router';<% } %> `,<% } else { %> templateUrl: './app.component.html',<% } if(inlineStyle) { %> styles: [],<% } else { %> - styleUrls: ['./app.component.<%= style %>']<% } %> + styleUrl: './app.component.<%= style %>'<% } %> }) export class AppComponent { title = '<%= name %>';