When building for iOS and Android, we recommend setting ssr: false in your nuxt config
export default defineNuxtConfig({
modules: ['@nuxtjs/ionic'],
ssr: false,
})
Also see:
Please also see our page on (building for both Web and Device together)(/cookbook/web-and-device)