Closed schantanu closed 1 year ago
Not sure what does that $gray
variable has to do with anything here. Your question seems to be about setting the font family yet you mentin the _colors.scss
and the $grey
variable for some reason.
What exactly did you want to achieve?
I am trying to use Google Fonts variable inside my components, but I am unable to make it work.
My directory structure
nuxt.config.js
main.scss
_colors.scss
test.vue
Now, I am able to set the font to the Google font to the div if I set it in the
main.scss
, but not if I set it intest.vue
. Not sure if this is by design or if there is a better way to set font in the component locally?