Skip to content

Full SSR support #431

@jaulz

Description

@jaulz

Description

The library still uses window in some places and thus SSR will fail.

Suggestion

Maybe we can add a getLocation option to the config that will return window.location by default. Having that one could easily pass a static location to Ziggy while using SSR and thus it wouldn't fail.

Alternatives

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions