【发布时间】:2018-07-06 13:11:38
【问题描述】:
我在我的项目中使用 glyphicons 作为插件。我不断收到此文件路径的此错误,但什么也没有。但它似乎是确切的文件路径。 我的文件路径不正确吗?
http://localhost:3000/assets/fonts/glyphicons-halflings-regular.ttf 404 (Not Found)
@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('./fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('./fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular')
【问题讨论】:
标签: javascript css ruby-on-rails