Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add routesImport #1

Closed
strelec opened this issue Dec 27, 2016 · 1 comment
Closed

Unable to add routesImport #1

strelec opened this issue Dec 27, 2016 · 1 comment

Comments

@strelec
Copy link

strelec commented Dec 27, 2016

I have recently started playing with this project and I really like it so far. I have been using this configuration option, but it does not seem to work when I put it under server configuration:
play.sbt.routes.RoutesKeys.routesImport += "models.Implicits._",

Whole config:

lazy val server = (project in file("server")).settings(
  scalaVersion := scalaV,
  scalaJSProjects := Seq(client),
  pipelineStages in Assets := Seq(scalaJSPipeline),
  pipelineStages := Seq(digest, gzip),
  // triggers scalaJSPipeline when using compile or continuous compilation
  compile in Compile <<= (compile in Compile) dependsOn scalaJSPipeline,
  play.sbt.routes.RoutesKeys.routesImport += "models.Implicits._",
  libraryDependencies ++= Seq(
    "com.vmunier" %% "scalajs-scripts" % "1.0.0",
    "com.lihaoyi" %% "upickle" % "0.4.3",
    ws
  )
).enablePlugins(PlayScala).
  dependsOn(sharedJvm)
@strelec
Copy link
Author

strelec commented Dec 27, 2016

Oh, wrong project, sorry.

@strelec strelec closed this as completed Dec 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant