Not able to import webfonts #57
-
With v23 I can't import webfonts. I tried adding to the top of the @import url("https://fonts.googleapis.com/css?family=Montserrat:400,700|Roboto:100,300,400");
body {
font-family: 'Montserrat', 'Roboto', sans-serif;
} If I inspect the body {
font-family: "
} If I try the fonts without single quotes, it just uses sans-serif. Tried using file-loader with webpack:
I also tried typefaces, but had the same issue like described in this post: Importing packages from the Typefaces project breaks Webpack Again I tried the package webfontloader with @types/webfontloader but the font is just not changing. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Looks like Helmet is escaping the single-quote. |
Beta Was this translation helpful? Give feedback.
-
See #59 |
Beta Was this translation helpful? Give feedback.
-
Has been fixed in (1236826). Will work in v24. |
Beta Was this translation helpful? Give feedback.
Has been fixed in (1236826). Will work in v24.