Skip to content

#4124: Fixed initial Nuxt 3 SSR builder render issue by passing route…#4125

Open
klngrs wants to merge 1 commit into
BuilderIO:mainfrom
klngrs:main
Open

#4124: Fixed initial Nuxt 3 SSR builder render issue by passing route…#4125
klngrs wants to merge 1 commit into
BuilderIO:mainfrom
klngrs:main

Conversation

@klngrs

@klngrs klngrs commented Aug 1, 2025

Copy link
Copy Markdown

The Nuxt 3 and Nuxt 3 catch all solutions (here and here) do not work out of the box for SSR because preview query parameters are not passed to isPreviewing().

To reproduce:

Implement one of the Nuxt 3 examples above in an SSR Nuxt 3 app.
Attempt to access a page through the builder.io preview environment
Result: It'll say "Content not found" or you'll get the error pop-up that something is not configured correctly.

Fun note: If you update your app locally, HMR triggers a client update which then DOES trigger a working client call with fetchOneEntry - enabling the preview environment to work. The initial impression is a flaky builder preview environment that sometimes works and sometimes does not (no good!).

@changeset-bot

changeset-bot Bot commented Aug 1, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 72822a7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@Youhan

Youhan commented Dec 19, 2025

Copy link
Copy Markdown

We are using isPreviewing(route.fullPath) for our implementation, but isPreviewing(route.query) also should do the trick.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants