在文件styles.scss中,我写:
@font-face {
font-family: 'Proxima Nova';
font-style: normal;
font-weight: normal;
src: local('Proxima Nova') url("../fonts/ProximaNova-Regular.ttf");
}
但是在输出中我得到:
@font-face {
font-family: 'Proxima Nova';
font-style: normal;
font-weight: normal;
src: local("Proxima Nova") url(data:font/ttf;base64, and here I have a big string
}
在github.com上,这个base65看起来很奇怪。 我想知道如何在src属性中获取输出,只是url,而不是base64。