Skip to content

Commit cea5728

Browse files
fix(angular): change default project type to Standalone (#5104)
Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
1 parent fbeac60 commit cea5728

File tree

1 file changed

+6
-6
lines changed
  • packages/@ionic/cli/src/commands

1 file changed

+6
-6
lines changed

packages/@ionic/cli/src/commands/start.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -512,17 +512,17 @@ Use the ${input(
512512
const angularMode = await this.env.prompt({
513513
type: 'list',
514514
name: 'standalone',
515-
message: 'Would you like to build your app with NgModules or Standalone Components? \n Standalone components are a new way to build with Angular that simplifies the way you build your app. \n To learn more, visit the Angular docs:\n https://angular.io/guide/standalone-components\n\n',
515+
message: 'Would you like to build your app with Standalone Components or NgModules? \n Standalone components are the default way to build with Angular that simplifies the way you build your app. \n To learn more, visit the Angular docs:\n https://angular.dev/guide/components\n\n',
516516
choices: () => [
517-
{
518-
name: 'NgModules',
519-
short: 'NgModules',
520-
value: 'ngModules',
521-
},
522517
{
523518
name: 'Standalone',
524519
short: 'Standalone',
525520
value: 'standalone',
521+
},
522+
{
523+
name: 'NgModules',
524+
short: 'NgModules',
525+
value: 'ngModules',
526526
}
527527
],
528528
});

0 commit comments

Comments
 (0)