layui图标不显示 提示Failed to decode downloaded font解决办法
Posted matoo-shi
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了layui图标不显示 提示Failed to decode downloaded font解决办法相关的知识,希望对你有一定的参考价值。
解决方法:build中加过滤存在多级目录要把目录多级处理定位:
<resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <excludes> <exclude>static/Bootstrap/bootstrap/layui/font/*</exclude> <exclude>static/Bootstrap/bootstrap/layui/css/**</exclude> <exclude>static/Bootstrap/bootstrap/**</exclude> <exclude>**/*.xml</exclude> <exclude>**/*.setting</exclude> <exclude>**/*.json</exclude> <exclude>**/*.properties</exclude> <exclude>**/*.html</exclude> <exclude>**/*.map</exclude> <exclude>**/*.css</exclude> <exclude>**/*.gif</exclude> <exclude>**/*.png</exclude> <exclude>**/*.js</exclude> <exclude>**/*.eot</exclude> <exclude>**/*.svg</exclude> <exclude>**/*.ttf</exclude> <exclude>**/*.woff</exclude> <exclude>**/*.woff2</exclude> </excludes> </resource> <resource> <directory>src/main/resources</directory> <filtering>false</filtering> <includes> <include>static/Bootstrap/bootstrap/layui/font/*</include> <include>static/Bootstrap/bootstrap/layui/css/**</include> <include>static/Bootstrap/bootstrap/**</include> <include>**/*.xml</include> <include>**/*.setting</include> <include>**/*.json</include> <include>**/*.properties</include> <include>**/*.html</include> <include>**/*.map</include> <include>**/*.css</include> <include>**/*.gif</include> <include>**/*.png</include> <include>**/*.js</include> <include>**/*.eot</include> <include>**/*.svg</include> <include>**/*.ttf</include> <include>**/*.woff</include> <include>**/*.woff2</include> </includes> </resource> </resources>
以上是关于layui图标不显示 提示Failed to decode downloaded font解决办法的主要内容,如果未能解决你的问题,请参考以下文章
Android的报错提示:Failed to resolve: com.android.support:appcompat-v7:28.0.0
红警进入提示“***FATAL***String Manager failed to initilaized properly&(抗压小游戏)
tomcat安装不成功.提示:failed to install tomcat6 service ,check your setting and permissions
Windows10 安装Postgresql错误提示:“ Failed to load sql modules into the database cluster“,连接不上数据库