我試圖讓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
可有人告訴我如何得到這個工作是否正常?