Closed RobSchilderr closed 8 months ago
@RobSchilderr I was hoping for this as well, sadly Next 13 doesn't support next export
at this time however, it is on the roadmap seen here
This would be a question for the Next.js team. My understanding is the standard next export
continues to work in Next 13, just not in the new app
directory features
Static export for app directory just landed in canary https://beta.nextjs.org/docs/configuring/static-export
now that is sick! Anyone tested it yet?
Seems like they've added new capabilities to it, no? Exciting!
Is there any update on this matter?
Is there any update on this matter?
yeah next export
is added, so you could in theory use the new /app
router, but you'd have to use a lot of use client
I guess. I know people are busy with it, you can find them in the Capacitor Discord.
@RobSchilderr The last time I tried when the next export released I still cannot make it work, and it's a bit overwhelming for me to fix the errors. Do you have plan to add it to your Supertoken repo or any example some succesfully match this?
@RobSchilderr The last time I tried when the next export released I still cannot make it work, and it's a bit overwhelming for me to fix the errors. Do you have plan to add it to your Supertoken repo or any example some succesfully match this?
No as far as I know there is not any example out there. I did however recently make some updates to my NextJS and Capacitor repo.
Resolved in #55
So, yesterday, Next.js 13 was released with a first beta preview of React Server Components enabled by default. It's a big deal, and it appears that server and client integration is becoming even more entwined.
I'm curious whether we'll be able to use
next export
in the future to create Capacitor/Next.js projects the same way we do here. What would it mean if they stopped supportingnext export
? Is it even worth using Next.js 13 with Capacitor right now?It would be fantastic if there was a blog post or an answer to this, as it determines whether it is still worthwhile to use Next.js or Capacitor to build our apps.
I'm guessing it's relevant to this repository because you guys try to keep the packages up to date here. Thanks for reading this issue and I hope this is the right place to discuss this.