-
Hi, I'm trying the package for the first time today. I've added these three options in the config 'fonts' => [
'anton' => 'https://fonts.googleapis.com/css2?family=Anton&display=swap',
'merriweather' => 'https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap',
'roboto-mono' => 'https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap',
], and when I run Error produced
Thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
EricBusch
Jun 27, 2021
Replies: 1 comment 5 replies
-
I was also getting the 'fonts' => [
'anton' => '//fonts.googleapis.com/css2?family=Anton&display=swap',
'merriweather' => '//fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap',
'roboto-mono' => '//fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap',
], Hope this helps! |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
riasvdv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was also getting the
cURL error 6: Could not resolve host: fonts.gstatic.com
when running locally using HTTP and fixed it by removinghttps
from the fonts.googleapis.com URLs like this:Hope this helps!