Next.js Discord

Discord Forum

google font does not load when deployed on vercel but works in development

Unanswered
Boat-tailed Grackle posted this in #help-forum
Open in Discord
Boat-tailed GrackleOP
so i have an ongoing project to which i made some updates and changes, and for some reason, despite working for the past 3 months, google font Inter (the default font that comes with create-next-app) stops working and instead the deployed website uses default html font styles instead. inspecting the page doesnt even show 'Inter' anywhere.

this is so frustrating to see when this has been fine all along and then suddenly it just refuses to work even when i didnt touch any bit of the font code at all. what is going on? tailwind update? vercel update? i dont understand how it suddenly stops working all of a sudden.

0 Replies