【发布时间】:2014-12-25 23:16:29
【问题描述】:
在我的 Meteor 项目中,我包含了一些传单包(fuatsengul:leaflet、bdunnette:leaflet-draw)。地图绘制正常,但我缺少图层控件和绘制命令按钮的所有图标。 浏览器控制台说:
Resource interpreted as Image but transferred with MIME type text/html:
"http://localhost:3000/packages/fuatsengul_leaflet/lib/images/layers.png".
我应该手动将一些 png 复制到我的 /public 文件夹还是应该由打包/构建系统来完成?
【问题讨论】: