-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
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
It only downloads 400 font-weight #174
Comments
Same here, any updates? |
Same issue here |
Specifying the font weights explicitly works for me: here is my setup -
|
This setup is working for me now. Had to move the css out of the assets folder because any changes to the fonts erased the whole assets folder. Other than that it's working well
|
I have same problem.
|
Problem is in package |
any official fix for subsets? |
Same issue here "@nuxtjs/google-fonts": "^3.1.3" export default defineNuxtConfig({
modules: ['@nuxtjs/google-fonts'],
googleFonts: {
display: 'swap',
prefetch: true,
preconnect: true,
preload: false,
useStylesheet: false,
subsets: 'latin',
families: {
'Josefin+Sans': {
wght: [300, 400]
},
'Playfair+Display': {
wght: [400, 800]
}
}
}
}) The log for this setup:
When
Here's a reproduction: https://stackblitz.com/edit/nuxt-starter-rjcgir?file=nuxt.config.ts |
This works for me:
|
This will solve the problem with subsets |
Released v3.2.0 |
My Nuxt config file is as below
It only downloads 400 font-weight.
The text was updated successfully, but these errors were encountered: