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

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -