The goal is to package a server-side rendered Next.js app as SPA for capacitor.
Pages with dynamic routes/data use getServerSideProps(). For capacitor we need at least one page that can be rendered statically, preferably the index page.
When there are pages that use getServerSiedeProps()
we can't use next export
(it will fail with an error).