Skip to content

Commit 03a1eaf

Browse files
crisbetoclydin
authored andcommitted
fix(@schematics/angular): account for new block syntax in starter template
Fixes that the starter template would've generated a compilation error in v17 after angular/angular#51994 is released.
1 parent 419b5c1 commit 03a1eaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/schematics/angular/application/files/common-files/src/app/app.component.html.template

+2-2
Original file line numberDiff line numberDiff line change
@@ -427,8 +427,8 @@
427427
<!-- Terminal -->
428428
<div class="terminal" [ngSwitch]="selection.value">
429429
<pre *ngSwitchDefault>ng generate component xyz</pre>
430-
<pre *ngSwitchCase="'material'">ng add @angular/material</pre>
431-
<pre *ngSwitchCase="'pwa'">ng add @angular/pwa</pre>
430+
<pre *ngSwitchCase="'material'">ng add &#64;angular/material</pre>
431+
<pre *ngSwitchCase="'pwa'">ng add &#64;angular/pwa</pre>
432432
<pre *ngSwitchCase="'dependency'">ng add _____</pre>
433433
<pre *ngSwitchCase="'test'">ng test</pre>
434434
<pre *ngSwitchCase="'build'">ng build</pre>

0 commit comments

Comments
 (0)