Skip to content

Conversation

brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented Jul 1, 2025

Issue number: resolves ionic-team/ionic-docs#2091


What is the current behavior?

Documentation to test ng add schematic for @ionic/angular is outdated & it fails when running with:

Invalid projectType for my-app: undefined 

What is the new behavior?

Fix the schematic to support the latest Angular build system & update the documentation for testing local Ionic Framework with ng add.

Does this introduce a breaking change?

  • Yes
  • No

Other information

I am using Angular CLI: 20.0.4

Run these commands first to see the error:

ng new my-app --style=css --ssr=false --zoneless=false cd my-app ng add @ionic/angular --skip-confirmation

Switch to this branch (fix-angular-schematics) and then follow the new steps and confirm the error is gone.


Co-authored-by: soundproofboot <colinedwinbares@gmail.com>

Copy link

vercel bot commented Jul 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 1, 2025 9:18pm
@github-actions github-actions bot added the package: angular @ionic/angular package label Jul 1, 2025
@brandyscarney brandyscarney marked this pull request as ready for review July 1, 2025 21:06
@brandyscarney brandyscarney requested a review from a team as a code owner July 1, 2025 21:06
@brandyscarney brandyscarney changed the title fix(angular): update schematics for ng20 fix(angular): update schematics to support Angular's latest build system Jul 1, 2025
@brandyscarney brandyscarney added this pull request to the merge queue Jul 2, 2025
Merged via the queue into main with commit 08e3e7a Jul 2, 2025
54 checks passed
@brandyscarney brandyscarney deleted the fix-angular-schematics branch July 2, 2025 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: angular @ionic/angular package
2 participants