I have been trying adding bootstrap\'s js and css files to public/javascripts and public/stylesheets application in play framework application. I donno why but I get a blan
My solution was as follows:
In build.sbt:
libraryDependencies ++= Seq(
"org.webjars" % "bootstrap" % "3.3.7"
)
In conf/routes
, ensure you have the following line: (This should be included by default unless you deleted it)
GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
In your file.scala.html
file, you include bootstrap like so: