September 2018
Intermediate to advanced
398 pages
9h 43m
English
To add jQuery and its facade into our project, we need to add the Scala facade and the JavaScript library.
For the facade, add the following dependency to the libraryDependencies variable in the build.sbt file :
"org.querki" %%% "jquery-facade" % "1.2"
To add the JavaScript library, add the following dependency to the jsDependencies variable:
jsDependencies +=
"org.webjars" % "jquery" % "2.2.1" / "jquery.js"
minified "jquery.min.js"
Read now
Unlock full access