Replies: 1 comment 1 reply
-
Hi, I don't have any plans on supporting AMP. By most accounts, it seems to be phasing out. I am guessing you are already included |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, thanks a ton for the "tailwind-nextjs-starter-blog" template. It really helps speed up setting a new, professional-style blog.
I am trying a food blog based on this repo and was trying to experiment if I can add AMP support.
I am facing some challenges due to the custom NextJS App component in
_app.js
.I am not able to conditionally skip the initialization based on
useAmp()
.The
useAmp()
always returns false at the_app.js
. This could be due to the way NextJS is designed to overcome to React Hydrate mismatch issue. vercel/next.js#8259Is there any other way to support AMP pages by conditionally rendering two different formats of the same NextJS page?
Beta Was this translation helpful? Give feedback.
All reactions