@font-face {
font-family: fangzheng;
src: url("../font/fangzheng.ttf");
font-weight: normal;
font-style: normal;
}
* {
font-family: fangzheng;
font-size: 1em;
margin: 0;
padding: 0;
-webkit-tap-highlight-color: transparent;
-webkit-appearance: none;
}
when executing, report
< web font not found >
what is the situation? I have reduced the npm to 4.6. everything else can be compressed normally and the font is well displayed