No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to include custom font

    Help
    2
    4
    2386
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MusicForMellons last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • M
        MusicForMellons last edited by

        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…

        1 Reply Last reply Reply Quote 0
        • M
          MusicForMellons last edited by MusicForMellons

          I got it working following this part of the docs:
          http://quasar-framework.org/guide/app-using-fonts-from-cdn.html

          and using this link:
          <link href='https://fonts.googleapis.com/css?family=Material+Icons|Montserrat' rel='stylesheet'>

          1 Reply Last reply Reply Quote 0
          • S
            spectrolite last edited by spectrolite

            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

            1 Reply Last reply Reply Quote 2
            • First post
              Last post