How to include custom font
-
When I approach my app via ngrok (ngrok.com) on my mobile phone I do not see the custom font I have used (it does on my laptop both when on localhost and when approaching via ngrok), so apparently I need to include my custom font as static content or something. Any clues how to proceed?
-
I tried adding:
<link rel=‘stylesheet’ type=‘text/css’ href=‘https://fonts.googleapis.com/css?family=montserrat’>to my index.html heading, but does not work…
-
I got it working following this part of the docs:
http://quasar-framework.org/guide/app-using-fonts-from-cdn.htmland using this link:
<link href='https://fonts.googleapis.com/css?family=Material+Icons|Montserrat' rel='stylesheet'>
-
I know this was ages ago, but this will help others too (and lets face it, the docs search engine needs some help too):
http://forum.quasar-framework.org/topic/14/add-custom-fonts-to-your-app