css introduction of special local Chinese font display properly, do not display the next server, or report the wrong path 404

Restore issues:

.

When the introduction of this Chinese font, the local display properly, will display on the server under garbled, Chinese server access link is visible.

Solution :

1.

The modifications introduced Chinese into English font, the font will be introduced by path to the project, all changes in the course of Chinese into English can only be introduced.

Package upload server should be noted:

2. webpack.base.conf.js file

Special font will be packaged in the fonts path, css files after viewing package, find local fonts introduced to modify the static ../fonts, then go access path is not back to normal for a long time, as long as every time Modified.

The use of Chinese in the form of a link, the link leads to grab this happen, so the introduction of css, the link must be modified to call Chinese into English

 

 

Guess you like

Origin blog.csdn.net/weixin_28898107/article/details/90898172