nuxt / nuxt.com

The Nuxt website, made with Nuxt.

Home Page:https://nuxt.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSR Issues with Coudflare Pages (SOLVED)

AlejandroAkbal opened this issue Β· comments

Environment

Not needed

Reproduction

Not necessary, any SSR/Prerender Nuxt will fail

Describe the bug

I'm just creating this issue to warn anyone that is using Cloudflare with Nuxt SSR

DISABLE ASSET MINIFICATION, it breaks Vue hydration
CleanShot 2023-12-25 at 13 46 21

I've spent weeks trying to fix it, and it was as simple as unchecking these boxes, hope it helps anyone

Additional context

No response

Logs

No response

Would you be able to provide a reproduction? πŸ™

More info

Why do I need to provide a reproduction?

Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.

What will happen?

If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritize it based on its severity and how many people we think it might affect.

If needs reproduction labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.

How can I create a reproduction?

We have a couple of templates for starting with a minimal reproduction:

πŸ‘‰ https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz
πŸ‘‰ https://codesandbox.io/s/github/nuxt/starter/v3-codesandbox

A public GitHub repository is also perfect. πŸ‘Œ

Please ensure that the reproduction is as minimal as possible. See more details in our guide.

You might also find these other articles interesting and/or helpful:

Maybe we could add a note to the cloudflare documentation?

https://github.com/nuxt/nuxt.com/blob/main/content/3.deploy/cloudflare.md