Я создал проект bootstrap-sass с генератором yeoman.
Я хочу добавить веб-шрифт, и каждый раз, когда я компилирую свой код scss, я получаю следующую ошибку:
error app/src/stylesheets/main.scss (строка 25: файл не найден или не может быть прочитан: /Users/username/Desktop/testfolder/fonts/../fonts/nexa-webfont/nexaheavy -webfont.woff)
Как избавиться от ненужной папки ../testfolder/fonts/.. в пути?
Мой main.scss выглядит так:
// VER: 0.1
/* OVERRIDDEN BOOTSTRAP VARIABLES */
$icon-font-path: "../fonts/bootstrap/";
/* STANDARD INCLUDES */
@import "bootstrap-compass";
@import "bootstrap-sprockets";
@import "bootstrap";
@import "compass/css3";
/* CUSTOM FONT IMPORT */
@include font-face(
"Nexa Heavy",
inline-font-files(
'../fonts/nexa-webfont/nexaheavy-webfont.woff', woff,
'../fonts/nexa-webfont/nexaheavy-webfont.ttf', ttf,
'../fonts/nexa-webfont/nexaheavy-webfont.svg', svg),
'../fonts/nexa-webfont/nexaheavy-webfont.eot',
normal, // font-weight
normal // font-style
);
/* CUSTOM INCLUDES */
@import "custom-variables";
@import "common";
@import "navigation";
@import "footer";
@import "pages/home";