Skip to content

Nuxt Island props update breaks component in SSG #30131

Open
@Ivnosing

Description

Environment

Nuxt Version: 3.14.1592

Reproduction

https://stackblitz.com/edit/github-y2ekr7?file=app.vue

Image

Describe the bug

Any change in the props of a Nuxt Island will change the hash of the JSON, resulting in 404 Not found when used in SSG.

In SSG the URL hash should be static and only the query parameters should change, as there is no live server to create the new JSON.

Additional context

My use case is when using the Live Editor of a CMS where passing new props as the editor updates the content makes the Island component disappear because it requests a non-existent JSON.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions