Skip to content

Commit

Permalink
feat: add custom Angular variants (#18410)
Browse files Browse the repository at this point in the history
  • Loading branch information
gioboa authored Oct 21, 2024
1 parent dbb2604 commit ac1fd41
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions packages/create-vite/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,25 @@ const FRAMEWORKS: Framework[] = [
},
],
},
{
name: 'angular',
display: 'Angular',
color: red,
variants: [
{
name: 'custom-angular',
display: 'Angular ↗',
color: red,
customCommand: 'npx -p @angular/cli@latest ng new TARGET_DIR',
},
{
name: 'custom-analog',
display: 'Analog ↗',
color: yellow,
customCommand: 'npm create analog@latest TARGET_DIR',
},
],
},
{
name: 'others',
display: 'Others',
Expand Down

0 comments on commit ac1fd41

Please sign in to comment.