importing local fonts into Create-React-App?


(David Rhodes) #1

The instructions in Create-React-App are vague and only refer to an image file. How do I import a TTF font and how do I apply the style? We think we’ve tried every variation, clearly missing something, would be happy to contribute to the documentation to make it clearer for the next victims. Thanks in advance!


(Root) #2

I prefer to use the webpack to load the TTF font,I think you can have a try