I mean icons from fontawesome or fonts from google fonts. In HTML i place something like this in the head:
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
What about react?
You can just import it in your style sheet like so
@import url('https://fonts.googleapis.com/css?family=Roboto');
And your body style will become
body {
font-family: 'Roboto';
}
inset the link in your index.html
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With