Ionic 6 vite build gives blank screen


Following these steps to create a simple ionic app.

  • npm run dev works as expected with both react and ionic

  • vite build with just react before adding the ionic components works as expected (using npx http-server)

  • vite build after adding ionic components displays blank screen with no console errors

This is all in browser, no devices added.

Is this a known issue or perhaps am I missing something obvious?

Any help much appreciated!

1 Like

Do you have an example app that I can try?