Skip to content

AMP hybrid mode just like next.js #4029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
souhailmerroun opened this issue Feb 21, 2022 · 2 comments · Fixed by #4710
Closed

AMP hybrid mode just like next.js #4029

souhailmerroun opened this issue Feb 21, 2022 · 2 comments · Fixed by #4710
Milestone

Comments

@souhailmerroun
Copy link

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

@souhailmerroun
Copy link
Author

@Rich-Harris
Copy link
Member

will be fixed by #4710

@Rich-Harris Rich-Harris added this to the 1.0 milestone Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants