We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following the example here, part of my component configuration looks like;
fonts: [ { src: 'https://MYPUBLICURL/Poppins-Regular.woff', fontStyle: 'normal', fontFamily: 'Poppins', fontWeight: '400', }, { src: 'https://MYPUBLICURL/Poppins-Bold.woff', fontStyle: 'normal', fontFamily: 'Poppins', fontWeight: '700', }, ],
However when the component loads the font does not work. If I change the above to;
fonts: [ { src: 'https://MYPUBLICURL/Poppins-Regular.woff', fontStyle: 'normal', fontFamily: 'Poppins', fontWeight: '400', }, { src: 'https://MYPUBLICURL/Poppins-Bold.woff', fontStyle: 'normal', fontFamily: 'Poppins', fontWeight: '700', }, 'https://fonts.googleapis.com/css?family=Poppins', ],
I do see the Poppins font correctly.
If I visit https://MYPUBLICURL/Poppins-Regular.woff in an incognito browser it downloads the font as expected.
The text was updated successfully, but these errors were encountered:
Hi @mcelligottnick For security reasons, we do not support custom font URLs.
Sorry, something went wrong.
@cb-dinesh alright thanks mate, you should remove it from the docs then.
Please remove this from the docs for React too, I wasted a lot of time because of this...
No branches or pull requests
Following the example here, part of my component configuration looks like;
However when the component loads the font does not work. If I change the above to;
I do see the Poppins font correctly.
If I visit https://MYPUBLICURL/Poppins-Regular.woff in an incognito browser it downloads the font as expected.
The text was updated successfully, but these errors were encountered: