-
installed a font from Fontsource using Has anyone used fontsource with Remix Run? I am using Remix Run with Chakra UI. Do fonts have to be placed in the public folder? The Jokes App tutorial uses fonts this way. Error: SyntaxError: Invalid or unexpected token |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Would like to add that I got this working by using self hosted .woff font files placed in the public directory. Perhaps fonts installed with npm don't work in remix out of the box? Edit: Tutorial available |
Beta Was this translation helpful? Give feedback.
-
I was able to get the site to load without that error by adding |
Beta Was this translation helpful? Give feedback.
Would like to add that I got this working by using self hosted .woff font files placed in the public directory. Perhaps fonts installed with npm don't work in remix out of the box?
Edit: Tutorial available