Fonts not loading on localhost, but it will in production?
So my fonts are not loading on localhost for some reason? I have no idea why this is happening, and it just started.
This is how i import the fonts:
This is how I use them:
Solution:Jump to solution
Really weird, but fixed it by deleting the .next folder. Might have been an issue with the cache, don't really know.
4 Replies
I'm using Next.js 14.0.4
It seems to be putting in the classname, but the class iteself dosen't exist
![No description](https://cdn.answeroverflow.com/1206283014238380082/image.png)
This is what it looks like in the production, and also what it should be like in local.
![No description](https://cdn.answeroverflow.com/1206283530041298954/image.png)
Solution
Really weird, but fixed it by deleting the .next folder. Might have been an issue with the cache, don't really know.