E
E
Eugene2017-08-27 19:19:30
css
Eugene, 2017-08-27 19:19:30

Why are fonts not included in gulp?

I decided to include fonts, for example:
"+font-face("RobotoRegular", "../fonts/RobotoRegular/RobotoRegular", $file-formats: eot woff ttf)"
copied to the next line, then changed the names, it became:
"+ font-face("EBGaramondRegular", "../fonts/EBGaramondRegular/EBGaramondRegular", $file-formats: eot woff ttf)"
Having put this same EBGaramondRegular into the "fonts" folder, I will immediately say that the font formats are "eot woff ttf" are present, everything in the folder is designed as it should be, and neatly arranged in folders, but it still doesn’t load a single font, there are no failures in the gallop, how to solve this situation?
Thank you

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Gamov, 2017-08-27
@Evgeni1

90% that this path simply cannot find the files. Try the absolute path /fonts/

E
Eugene, 2017-08-28
@Evgeni1

Thanks for the information provided. I solved this issue, it turns out that it was necessary to register localStorage.clear () in the console

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question