Skip to content

Conversation

@liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented Apr 28, 2023

This PR introduces an option to the Ionic CLI to create an Angular app with either NgModules or Standalone. Developers will be prompted to choose one and will receive the appropriate starter based on their selection.

Related: ionic-team/starters#1773

The NgModules option will pull the angular starter app (named this way for backwards compatibility with older versions of the CLI). The Standalone option will pull the angular-standalone starter app.

I split out the standalone support into its own project type since that is what we did for the Vite starters.

Comment on lines +304 to +309
name: 'my-first-app',
projectType: ANGULAR_STANDALONE,
type: 'repo',
description: 'A template for the "Build Your First App" tutorial',
repo: 'https://github.com/ionic-team/photo-gallery-capacitor-ng',
},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: This project does not ship with standalone components, but I added it so we don't get an error on build

@liamdebeasi liamdebeasi marked this pull request as ready for review April 28, 2023 18:42
@liamdebeasi liamdebeasi merged commit 707a42d into develop May 1, 2023
@liamdebeasi liamdebeasi deleted the optional-standalone branch May 1, 2023 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants