Remix.run Logo
byteCoder 19 hours ago

OpenNext on Cloudflare is the only way I've successfully gotten NextJS to work in a Cloudflare Worker.

https://opennext.js.org/cloudflare

latchkey 18 hours ago | parent [-]

Interesting. Yea, I didn't want a worker, just a static html page with my javascript.

kcrwfrd_ 17 hours ago | parent [-]

You need to configure it for static export if that’s what you want: https://nextjs.org/docs/app/guides/static-exports

But this won’t support all framework features. The default expectation for Next.js is with a server runtime for SSR.