Giter VIP home page Giter VIP logo

Comments (7)

vmunier avatar vmunier commented on May 26, 2024 2

More than a year later, the project has finally been renamed to sbt-web-scalajs. Usage has changed, you can take a look at the release note or one of the two examples to help you migrating from sbt-play-scalajs v0.3.1 to sbt-web-scalajs v1.0.0.

from sbt-web-scalajs.

vmunier avatar vmunier commented on May 26, 2024

Indeed, there is no play-specific things anymore. I will consider renaming it to sbt-web-scalajs or sbtweb-scalajs. Users of the plugin would have to edit their plugins.sbt file and I would have to update the various places where links to sbt-play-scalajs have been posted (Scala.js website, the sbt plugins page, etc.).

I would be interested in seing an akka-http project using sbt-play-scalajs and get feedback to know whether the plugin is really useful outside of a play project.

from sbt-web-scalajs.

antonkulaga avatar antonkulaga commented on May 26, 2024

I cleaned this message because there was a mistake in configuration there

from sbt-web-scalajs.

antonkulaga avatar antonkulaga commented on May 26, 2024

I would be interested in seing an akka-http project using sbt-play-scalajs and get feedback to know whether the plugin is really useful outside of a play project.

I've used it for preview project in my codemirror facade, see https://github.com/antonkulaga/codemirror-facade/blob/master/project/Build.scala

The main problem is that while scalaJSProd is Pipeline.Stage scalaJSDev and is not. So, I had to create a pipeline stage for it. I created a PR to fix this: #12

from sbt-web-scalajs.

joprice avatar joprice commented on May 26, 2024

It would be nice to at least note in the readme that it's possible to use this without Play. I just integrated it into an akka-http project with no issues, but not until after I stumbled upon this issue from a comment in antonkulaga's code.

from sbt-web-scalajs.

vmunier avatar vmunier commented on May 26, 2024

Hi, I agree it would be nice to let people know that it's possible to use the plugin outside of a Play application.
I am curious to see how the integration between sbt-play-scalajs and akka-http works. For instance, is it possible in akka-http to know whether the application runs in Dev or Prod mode? Do you have your akka-http project available somewhere?

from sbt-web-scalajs.

antonkulaga avatar antonkulaga commented on May 26, 2024

Yes, I use akka-http in most of my opensource projects. For instance it is used https://github.com/antonkulaga/scala-js-binding to provide previews. Right now I have an issue with source maps, other parts work well

from sbt-web-scalajs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.