zoukankan      html  css  js  c++  java
  • SpringBoot引用font awesome不显示问题的解决

    SpringBoot引用font awesome不显示问题的解决

    资源打包问题,加上排除就好了

    <build>
      <plugins>
           <!--增加配置解决icon不显示-->
          <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-resources-plugin</artifactId>
              <configuration>
                  <nonFilteredFileExtensions>
                      <nonFilteredFileExtension>woff</nonFilteredFileExtension>
                      <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
                      <nonFilteredFileExtension>eot</nonFilteredFileExtension>
                      <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
                      <nonFilteredFileExtension>svg</nonFilteredFileExtension>
                  </nonFilteredFileExtensions>
              </configuration>
          </plugin>
      </plugins>
    </build>
    
  • 相关阅读:
    有用的Python模块
    Python中for循环搭配else的陷阱
    MySQL实用操作
    Pycharm常用快捷键
    MySQL基础
    HTML基础
    MySQL基础
    HTTP连接管理
    TCP连接的建立和终止
    TCP数据流
  • 原文地址:https://www.cnblogs.com/cnsyear/p/13822154.html
Copyright © 2011-2022 走看看