Skip to content

Commit

Permalink
fix(@schematics/angular): account for new block syntax in starter tem…
Browse files Browse the repository at this point in the history
…plate

Fixes that the starter template would've generated a compilation error in v17 after angular/angular#51994 is released.
  • Loading branch information
crisbeto authored and clydin committed Oct 4, 2023
1 parent 419b5c1 commit 03a1eaf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@
<!-- Terminal -->
<div class="terminal" [ngSwitch]="selection.value">
<pre *ngSwitchDefault>ng generate component xyz</pre>
<pre *ngSwitchCase="'material'">ng add @angular/material</pre>
<pre *ngSwitchCase="'pwa'">ng add @angular/pwa</pre>
<pre *ngSwitchCase="'material'">ng add &#64;angular/material</pre>
<pre *ngSwitchCase="'pwa'">ng add &#64;angular/pwa</pre>
<pre *ngSwitchCase="'dependency'">ng add _____</pre>
<pre *ngSwitchCase="'test'">ng test</pre>
<pre *ngSwitchCase="'build'">ng build</pre>
Expand Down

0 comments on commit 03a1eaf

Please # to comment.