scala - How to make scalajs project depend on a subproject? -
i use case class sub project , receive error: referring non-existent
@ runtime
in build.sbt, have:
lazy val scalajsproject = (project in file("scala-project/")) .dependson(modelproject)
i guess dependson
not work scalajs?
i followed instruction here https://github.com/scala-js/scalajs-cross-compile-example create crossproject. , put models shared folder of crossproject. , recoginizes both in jvm , js project.
Comments
Post a Comment