I’m still new to all this as well, so take this with a pinch of salt. If your font is working fine after running yarn start
but not when you visit domain.test
, have you run yarn && yarn build
to build the font assets?
Also, did you see this post and the reply?