You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a SSR Nuxt app that I'd like to eventually run with capacitor. Nuxt has some magic functions such as asyncData and nuxtServerInit which are only ever executed server side. Does this mean the app simply won't work when deployed to a native app as there is no server and thus those critical first run functions won't execute?
Anything else to be aware of when building an SSR and Capacitor targeted app in the same codebase?
I'm coming from having a successful SPA Vue Web / Capacitor app and looking to find out things to watch for when trying SSR this time round with native mobile intentions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm writing a SSR Nuxt app that I'd like to eventually run with capacitor. Nuxt has some magic functions such as
asyncData
andnuxtServerInit
which are only ever executed server side. Does this mean the app simply won't work when deployed to a native app as there is no server and thus those critical first run functions won't execute?Anything else to be aware of when building an SSR and Capacitor targeted app in the same codebase?
I'm coming from having a successful SPA Vue Web / Capacitor app and looking to find out things to watch for when trying SSR this time round with native mobile intentions.
Beta Was this translation helpful? Give feedback.
All reactions