If you’re building just a website with Quasar (so not using same basecode for an Android or iOS app or an Electron app), then it is even recommended that you use required fonts from a CDN instead of adding them to the app bundle (which is the default behavior).
What you need to do is to find the proper CDN for the
Material Icons and
Roboto fonts, like from https://fonts.google.com/?query=roboto.
src/index.html you need to add the
link tag inside the
head like this:
And then in
src/themes/app.ios.styl to set a Stylus variable (
true. This informs Quasar not to import Fonts in the bundle:
Make sure you declare the Stylus variable before the import statement, otherwise it won’t work as intended.
If you like to not import only Material Icons or only Roboto font, then use: