Skip to content

Commit b15d1c1

Browse files
committed
feat: add custom Angular variant
1 parent 9c79daa commit b15d1c1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/create-vite/src/index.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,16 @@ const FRAMEWORKS: Framework[] = [
254254
display: 'Angular',
255255
color: red,
256256
variants: [
257+
{
258+
name: 'custom-angular',
259+
display: 'Angular ↗',
260+
color: red,
261+
customCommand: 'npx -p @angular/cli@latest ng new TARGET_DIR',
262+
},
257263
{
258264
name: 'custom-analog-js',
259265
display: 'Analog.js ↗',
260-
color: red,
266+
color: yellow,
261267
customCommand: 'npm create analog@latest TARGET_DIR',
262268
},
263269
],

0 commit comments

Comments
 (0)