ots parsing error
Chrome 下载由 SpringBoot 项目作为 BackEnd,Element-UI 作为前台,并且 Element-UI 打包好的字体由 SpringBoot 进行托管的时候,出现的问题。
解决方法:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>ttf</nonFilteredFileExtension>
<nonFilteredFileExtension>woff</nonFilteredFileExtension>
<nonFilteredFileExtension>woff2</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
</plugin>