Nuxt 2 Yarn start command


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.


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.

1 Like

Thanks, @matteo .

But its possible to run it on Cloudflare Workers with SSR enabled ?

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.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.