Skip to content

test(angular): register Ionic components on the landing page - #31367

Merged
ShaneK merged 1 commit into
major-9.0from
fix/angular-landing
Aug 19, 2026
Merged

test(angular): register Ionic components on the landing page#31367
ShaneK merged 1 commit into
major-9.0from
fix/angular-landing

Conversation

@ShaneK

@ShaneK ShaneK commented Aug 19, 2026

Copy link
Copy Markdown
Member

Issue number: internal


What is the current behavior?

Currently, the Angular test app's landing page renders as unstyled inline text on the Vercel preview. It relied on AppModule's IonicModule scope for its ion-* directives, but / is only rendered by the standalone bootstrap, so IonicModule.forRoot()'s defineCustomElements() initializer never runs, and nothing registers those elements once a build tree-shakes the unused standalone proxies.

What is the new behavior?

The landing page is now standalone and imports the components it renders, so it registers its own custom elements. The route uses loadComponent instead of component to keep that standalone build out of the lazy app's eager graph.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Major 9.0's Angular Landing Page

This PR's Angular Landing page link

@ShaneK
ShaneK requested a review from a team as a code owner August 19, 2026 12:33
@ShaneK
ShaneK requested a review from brandyscarney August 19, 2026 12:33
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-framework Ready Ready Preview Aug 19, 2026 12:58pm

Request Review

@github-actions github-actions Bot added the package: angular @ionic/angular package label Aug 19, 2026
@ShaneK
ShaneK force-pushed the fix/angular-landing branch from bab9321 to b4899d3 Compare August 19, 2026 12:52
@ShaneK ShaneK changed the title test(angular): register ionic components on the landing page test(angular): register Ionic components on the landing page Aug 19, 2026
@ShaneK
ShaneK merged commit eae327d into major-9.0 Aug 19, 2026
55 checks passed
@ShaneK
ShaneK deleted the fix/angular-landing branch August 19, 2026 13:50
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.

2 participants