question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Being able to use Google Fonts CDN

See original GitHub issue

Currently I’m having issues with Azure and the fonts with some 404 errors: fonts

Since the fonts referenced in the final CSS output use the “hash” included, using CDN fonts would not work either. Would be nice to have the option to not use the npm package roboto-fontface, saving with that space in the bundle too.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rstoenescucommented, Dec 18, 2016

In your /src/themes/app.mat.styl and /src/themes/app.ios.styl add this definition before importing Quasar’s Stylus:

$quasar-dont-import-fonts = true

Will be available in next Quasar version.

1reaction
rstoenescucommented, Dec 16, 2016

Fonts were added mainly for Cordova apps as using a CDN can break your app when you’re offline. However, it’s a good idea to be able to use CDN when building a website, so will make this possible soon. Thanks for opening this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using web fonts – Fonts Knowledge - Google Fonts
First we'll need to load the font files; then, we need to reference those files and assign weights and styles (although these first...
Read more >
Get Started with the Google Fonts API
This guide explains how to use the Google Fonts API to add fonts to your web pages. You don't need to do any...
Read more >
CSS Google Fonts - W3Schools
Google Fonts are free to use, and have more than 1000 fonts to choose from. How To Use Google Fonts. Just add a...
Read more >
How to Migrate Google Fonts CDN to Your Own CDN - KeyCDN
The first thing you will want to do is download the Google Fonts that you want to use. The easiest way to do...
Read more >
Is 'Google Web Fonts' or CDN bad? - Stack Overflow
These fallbacks have to enable these users to be able to retrieve the content, nothing more. But I wont stop using intelligent new...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found