quasarframework / quasar-template-meteor

Quasar Starter Kit for Meteor
MIT License
50 stars 10 forks source link

Could add `roboto font`? #50

Open thearabbit opened 4 years ago

thearabbit commented 4 years ago

Could add roboto font?

mwarren2 commented 4 years ago

All you have to do is create a link like the one I have shown in the ReadME.

This was the command to create the link to the material-icons stuff. ln -s ../node_modules/@quasar/extras/material-icons/web-font public

Just do something similar to the roboto-font folder that you will find in the same place in node_modules/@quasar/extras

thearabbit commented 4 years ago

But it is duplication web-font folder name in public?

mwarren2 commented 4 years ago

Presumbably you can try just naming the link something else. You will have to experiment. I don't have all the answers, sorry.

Try calling the roboto-font link robotoweb-font for example

thearabbit commented 4 years ago

I tried

ln -s ../node_modules/@quasar/extras/roboto-font/web-font public/roboto-font
--------
import '@......../......css'

It don't work, bc .css file import from ./web-font base folder name???

mwarren2 commented 4 years ago

Just do another link for the .css file