I'm trying to add react-grid-layout to my play 2.0 web app. Firstly, I found web jar for this library and add it to build.sbt. So my sbt looks like as follows:
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 routes I have
GET /webjars/*file controllers.WebJarAssets.at(file)
All the libraries except react-grid-layout were successfully installed to target/web/web-modules directory. So, I guess the problem is with npm org.webjars.npm .
What should I do to install every js library correctly?