DEV Community

Discussion on: The best way to load and use Google Fonts in Next.js + Tailwind

Collapse
 
thomasledoux1 profile image
Thomas Ledoux

I noticed this too, but chose to ignore it:

<link
  rel="stylesheet"
href="https://fonts.googleapis.com/css2family=Podkova:wght@400;500;700&Roboto:wght@400;500;700&display=swap"
 media="print"
 // @ts-ignore
 onLoad="this.media='all'"
/>

Enter fullscreen mode Exit fullscreen mode