Created
June 26, 2023 16:40
-
-
Save popeating/8d002b055bd1050c847a67efc7cbe4c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import localFont from 'next/font/local' | |
// Font files can be colocated inside of `app` | |
const myFont = localFont({ | |
src: './my-font.woff2', | |
display: 'swap', | |
... | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment