Ionic 6 vite build gives blank screen

Hi

Following these steps to create a simple ionic app.

https://dev.to/aaronksaunders/vitejs-ionic-framework-beta-v6-reactjs-and-capacitor-mobile-device-deployment-53e3

  • 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?