-
-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Description
I'm trying to preload a font file hosted locally following the guide at https://fontsource.org/docs/getting-started/preload, but the <link rel="preload" ...> element gets duplicated inside head in the page returned from the server.
Steps to reproduce
- npm create waku@latest
- Add <link rel="preload" ...> element like the one below to _layout.tsx file just below
<link rel="icon" type="image/png" href={data.icon} />:
<link rel="preload" as="font" type="font/woff2" href="this-is-the-url-for-the-font.woff2" crossOrigin="anonymous" /> - npm run dev
- Notice that the <link rel="preload"...> element is duplicated inside the head element.

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels