Install MIME in meteor
I got this when I tried to use certain font in Meteor:
Resource interpreted as Font but transferred with MIME type font/x-woff:
I've tried meteor add mime
or npm install mime
command, none worked.
Anybody know about this?
Npm support for Meteor comes to the light from version 0.6.0. But it gives complete NPM access to packages only.
http://meteorhacks.com/complete-npm-integration-for-meteor.html
if you are trying to use a font. put it into public/ directory not anywhere else.
链接地址: http://www.djcxy.com/p/8240.html上一篇: 适用于.woff2字体的适当MIME类型
下一篇: 在流星中安装MIME