【发布时间】:2014-02-06 19:18:48
【问题描述】:
我正在使用流星,我的静态文件位于公共目录中:
// Directory Structure
app
app/.meteor
app/server
app/client
app/packages
app/lib
app/public
app/public/styles
app/public/images
在我的index.html 上,我有这个:
<link rel="stylesheet" href="/public/styles/app.css"/>
我仍然收到此错误:
Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:3000/public/styles/app.css".
我该如何解决这个问题?流星公共目录的正确用法是什么?
【问题讨论】:
标签: javascript meteor