我试图让Scala.js与引导库一起工作。 添加js文件是简单,直接的:Scala.js CSS依赖关系
jsDependencies +="org.webjars" % "bootstrap" % "3.3.7-1"/"bootstrap.js" minified "bootstrap.min.js"
但现在我已经问题添加bootstrap.css文件。 我想这行:
"org.webjars" % "bootstrap" % "3.3.7-1"/"bootstrap.css" minified "bootstrap.min.css"
但添加CSS文件到jsDependencies
似乎不工作:
[error] (frontend/compile:resolvedJSDependencies) org.scalajs.core.tools.jsdep.JSLibResolveException: Some references to JS libraries could not be resolved:
[error] - Missing JS library: bootstrap.min.css
[error] originating from: frontend:compile
[error] - Missing JS library: bootstrap.css
[error] originating from: frontend:compile
可有人告诉我如何得到这个工作是否正常?