Skip to content

AMP hybrid mode just like next.js #4029

Description

@souhailmerroun

Describe the problem

We have a big website that is built using Svelte, everything is fine and works perfect so thank you svelte <3

But, now, we have a business need where we need some pages to be "Google AMP".

We've tried amp:true so far but it forces the entire website to become an AMP.

Is there a way you are adding this feature soon? Otherwise we are thinking about using the endpoints and serving custom AMP but could we get some general guidelines or recommendations if possible?

Describe the proposed solution

We would love to have a hybrid mode to activate AMP only on some routes.

Alternatives considered

Using endpoints to serve our own AMP code but meh.

Importance

would make my life easier

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions