Skip to content

docs: enable experimental emitRouteChunkError #6124

Open
maximepvrt wants to merge 2 commits intonuxt:v4from
maximepvrt:patch-19
Open

docs: enable experimental emitRouteChunkError #6124
maximepvrt wants to merge 2 commits intonuxt:v4from
maximepvrt:patch-19

Conversation

@maximepvrt
Copy link
Contributor

I enabled the emitRouteChunkError experimental option because leaving a Nuxt UI tab idle often leads to broken navigation (resulting in a blank page) whenever a new deployment occurs.

Capture d’écran 2026-02-24 à 18 26 35 Capture d’écran 2026-02-24 à 18 26 44

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@github-actions github-actions bot added the v4 #4488 label Mar 1, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 1, 2026

📝 Walkthrough

Walkthrough

A single configuration property emitRouteChunkError: 'automatic' has been added to the experimental section of the Nuxt configuration in docs/nuxt.config.ts. This addition expands the route chunk error handling configuration options without modifying or removing any existing properties.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description check ✅ Passed The description is directly related to the changeset, explaining why the emitRouteChunkError option was enabled and providing context about the navigation issue it solves.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title 'docs: enable experimental emitRouteChunkError' directly matches the main change—adding the emitRouteChunkError configuration property to the Nuxt config in the docs.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 1, 2026

npm i https://pkg.pr.new/@nuxt/ui@6124

commit: 2531c10

@benjamincanac benjamincanac changed the title docs: fix chunk 404 error docs(nuxt.config): enable experimental emitRouteChunkError Mar 2, 2026
@benjamincanac benjamincanac changed the title docs(nuxt.config): enable experimental emitRouteChunkError docs: enable experimental emitRouteChunkError Mar 2, 2026
@benjamincanac benjamincanac added the documentation Improvements or additions to documentation label Mar 2, 2026
Copy link
Member

@benjamincanac benjamincanac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maximepvrt Are you sure it doesn't already defaults to automatic? 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants