Using a @fontsource font in Quasar #12498
shabiel
started this conversation in
Show and Tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I couldn't find this anywhere, so after a bit of experimentation I got it to work. The method outlined in the documentation requires you to manually download the font and put it in a specific folder. This is more automatic. I used firago here, but you can use any font you want.
Add these lines to
src/App.vue:Then in
quasar.conf.js, comment out the line for 'roboto-font', as you don't want that to be the default.Beta Was this translation helpful? Give feedback.
All reactions