Skip to content

docs(angular): update testing ng-add #30522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

soundproofboot
Copy link
Contributor

@soundproofboot soundproofboot commented Jun 30, 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.

What is the new behavior?

More steps added to install and build libraries, change using npx schematics for ng add.

Does this introduce a breaking change?

  • Yes
  • No

@soundproofboot soundproofboot requested a review from a team as a code owner June 30, 2025 20:07
Copy link

vercel bot commented Jun 30, 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 Jun 30, 2025 8:09pm

@brandyscarney
Copy link
Member

I ran into some errors while testing out these steps and found that we needed to add a fix to support the latest Angular build system. I created a PR here with updated steps & a fix. I will add you as a co-author on that PR, but could you let me know if you see any issues? Thank you! 🙂

@soundproofboot
Copy link
Contributor Author

I ran into some errors while testing out these steps and found that we needed to add a fix to support the latest Angular build system. I created a PR here with updated steps & a fix. I will add you as a co-author on that PR, but could you let me know if you see any issues? Thank you! 🙂

@brandyscarney Yes, I have not gotten the schematic to work any which way with Angular 20 but assumed that was a separate issue and wasn't sure how to approach that. I will test out the steps in that PR tomorrow and comment back here with the results.

@soundproofboot
Copy link
Contributor Author

@brandyscarney I verified I was getting that same error with Angular 20.0.5 and then followed the new steps on the fix branch. Everything was easy to follow and installed with no issues. I also tried with 19 and works the same. Thank you, I had tried to debug the schematic but did not get very far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: angular @ionic/angular package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation: Steps to test angular is outdated/
2 participants