Skip to content

Make preview a per site configuration #867

@fiasco

Description

@fiasco

Package

next (Drupal module)

Describe the feature request

When operating multiple next.js sites from one Drupal, I may have different preview approaches depending on the type of site I have. As such I'd like to set the preview plugin on each site. However right now, its a global module-level configuration.

Describe the solution you'd like

Provide configuration per site to define the preview plugin at a site-level.

Describe alternatives you've considered

I guess you can technically get around this constraint with a custom module to alter the current implementation but its not ideal.

Additional context

Instead of an iframe previewer, I wanted to redirect the user to the next.js site. So I also wanted a redirect previewer plugin also.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageA new issue that needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions