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.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay