Home  >  Article  >  Web Front-end  >  How to solve the problem of Iview font icon missing in vue-cli shelf

How to solve the problem of Iview font icon missing in vue-cli shelf

php中世界最好的语言
php中世界最好的语言Original
2018-03-09 16:27:493005browse

This time I will bring you a method to solve the problem of Iview losing font icons in the vue-cli shelf. Solve the problem of Iview losing font icons in the vue-cli shelf. What are the precautions for the method? What are the practical solutions? Let’s take a look at the case.

How to solve the problem of Iview font icon missing in vue-cli shelf

How to solve the problem of Iview font icon missing in vue-cli shelf

Solution to the font icon missing problem

In build/webpack.prod.conf.js, add

module: {
rules: utils.styleLoaders({
sourceMap: config.build.productionSourceMap,
extract: false
})
},

The extract inside is changed to false, and the default is true

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to the php Chinese websiteOthersrelated articles!

Related reading:

table tr th and table tr td have too many fonts, how to use CSS to solve it

Let the page Moving WOW.js

How to determine the browser's IE 6 7 8 9

The above is the detailed content of How to solve the problem of Iview font icon missing in vue-cli shelf. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn