Skip to content

Enable output: 'export' for static site generation headless mode #694

@gorm

Description

@gorm

Is your enhancement related to a problem? Please describe.

Not possible to deploy using static export. When I change nextConfig with output: 'export' it generates the following error:

Error: ISR cannot be used with "output: export". See more info here: https://nextjs.org/docs/advanced-features/static-html-export

Designs

No response

Describe alternatives you've considered

It would be great if this package could run with static site generation, so it would be possible to deploy static html, css, javascript and then run in headless mode with client side fetching without requiring node installed on the server.

Feedback is appreciated, if there is something I don't understand here. It was tested with the wp-nextjs template. Thanks for your eyes and time!

Code of Conduct

  • I agree to follow this project's Code of Conduct

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