Skip to content

HTMLElement is not defined when using Nuxt SSR #33

@bradley-varol

Description

@bradley-varol

The latest version is breaking my Nuxt 2 SSR website as HTMLElement (defined as a prop type) is not defined on the server. window is probably the same.

As a quick workaround, I ended up just creating my own component with the code from this library's component, minus the breaking HTMLElement propType.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions