nuxt-webfontloader icon indicating copy to clipboard operation
nuxt-webfontloader copied to clipboard

Multiple font families pipe not being added to url

Open cam424 opened this issue 4 years ago • 0 comments

Url I expect: https://fonts.googleapis.com/css?family=Lato:400,700|Frank+Ruhl+Libre:400,700

What I'm getting: https://fonts.googleapis.com/css?family=Lato:400,700%7CFrank+Ruhl+Libre:400,700

What's happening: This result is loading in the fonts, however the weights aren't available for styling my ui. Not sure if there's something with my configuration or if this is a bug.

my nuxt.config.js: ... modules: ['nuxt-webfontloader'], ...

my font families in nuxt.config.js: ... webfontloader: { google: { families: ['Lato:400,700', 'Frank Ruhl Libre:400,700'] } }, ...

cam424 avatar Oct 02 '20 22:10 cam424