Skip to content
Discussion options

You must be logged in to vote

Your imports are incorrect. If you look at our docs (https://www.gatsbyjs.com/docs/how-to/styling/using-web-fonts/#self-host-google-fonts-with-fontsource) or theirs (https://fontsource.org/docs/getting-started) you'll see that for the default import (the 400 weight) you do:

import "@fontsource/audiowide"

// And not
import "@fontsource/audiowide.css"

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by LekoArts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #32292 on July 08, 2021 14:54.