I'm trying to use the Scalatags library, but IntelliJ won't acknowledge certain parts of the library. I have it in my build.sbt like so:
libraryDependencies += "com.lihaoyi" %% "scalatags" % "0.6.0"
%% uses the JVM version of the library. You need to use the platform-dependent version with
%%%, like this:
libraryDependencies += "com.lihaoyi" %%% "scalatags" % "0.6.0"
This will select the JS version of the library if your project is a Scala.js project, thereby providing JS-specific parts of the API, such as