Hello,
Exists a way to run a NuxtJs 2 app with SSR enabled on Cloudflare Pages?
I have tried to change the build command from “nuxt generate” to “nuxt build && nuxt start” but its not work.
Thanks,
Dan
Hello,
Exists a way to run a NuxtJs 2 app with SSR enabled on Cloudflare Pages?
I have tried to change the build command from “nuxt generate” to “nuxt build && nuxt start” but its not work.
Thanks,
Dan
Cloudflare Pages is a static site build generator, so no.
Some frameworks do offer Cloudflare integrations that create a Worker that allows for functions to run, but it’s not as simple as changing the build command, and it’s framework specific.
Pages Functions are Workers, so no. Same limitations apply. SSR in some frameworks does work, if the framework supports it.
For reference, Nuxt 3 supports SSR on edge. Nuxt 2 does not.
Blog: https://blog.cloudflare.com/pages-full-stack-frameworks/
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.