You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create a website by using next.js and usenext-plugin-preact for smaller bundle size. I put a <link rel="canonical" key="canonical" href="this is from _app.tsx"/> in _app.tsx and put it again on some specific page <link rel="canonical" key="canonical" href="this is from special page"/> it print out duplicate canonical.
I open an issue to next.js repo but they said it seem to be issue with next-plugin-preact.
I create a website by using next.js and use
next-plugin-preact
for smaller bundle size. I put a<link rel="canonical" key="canonical" href="this is from _app.tsx"/>
in _app.tsx and put it again on some specific page<link rel="canonical" key="canonical" href="this is from special page"/>
it print out duplicate canonical.I open an issue to next.js repo but they said it seem to be issue with
next-plugin-preact
.I create a repo with duplicate result here https://github.com/ekanant/nextjs-duplicate-in-head.
The text was updated successfully, but these errors were encountered: