Next.js local font
Unanswered
Almond stone wasp posted this in #help-forum
Almond stone waspOP
Hi, how can I use local fonts in Next.js ?
For example I have ttc file, how can I import it and use it ?
I get this error
For example I have ttc file, how can I import it and use it ?
import localFont from 'next/font/local';
Module not found: Can't resolve 'next/font/local/target.css'
Expected font file content
I get this error
2 Replies
Ive never done it, but this looks like a really good tutorial