DEV Community

GreggHume
GreggHume

Posted on

Nuxt and Cloudflare, how to get SSR working (2 settings)

You have nuxt with cloudflare and might notice your pages are not server side rendering and are instead trying to fetch the data in the browser.

In cloudflare switch off javascript and html minification to fix the issue:
Image "cloudflare options to fix nuxt ssr"

Why?
It seems cloudflare minification removes things that nuxt needs to function.

Discussion (0)