I'm currently working on integrating react-grid-layout into my play 2.0 web application. To begin, I came across the web jar for this library and added it to my build.sbt file. Here is how my sbt configuration looks like:
libraryDependencies ++= Seq(
jdbc,
cache,
ws,
specs2 % Test,
"org.webjars" %% "webjars-play" % "2.4.0-1",
"org.webjars" % "react" % "0.14.0",
"org.webjars" % "marked" % "0.3.2",
"org.webjars" % "jquery" % "2.1.4",
"org.webjars.npm" % "react-grid-layout" % "0.9.1"
)
In my routes file, I have included:
GET /webjars/*file controllers.WebJarAssets.at(file)
All the libraries except for react-grid-layout were successfully installed in the target/web/web-modules directory. It seems that there might be an issue with npm org.webjars.npm.
How do I ensure accurate installation of all JavaScript libraries?