I am currently having an issue implementing Scala.js with the bootstrap library. Including the js file was a simple and straightforward process:
jsDependencies +="org.webjars" % "bootstrap" % "3.3.7-1" / "bootstrap.js" minified "bootstrap.min.js"
However, I am encountering difficulties when trying to add the bootstrap.css file. I attempted this line of code:
"org.webjars" % "bootstrap" % "3.3.7-1" / "bootstrap.css" minified "bootstrap.min.css"
Unfortunately, it seems that adding a css file to the jsDependencies
is not functioning properly:
[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
Could someone guide me on how to resolve this issue?