Hello,
I found only one tutorial how to make work react.js from webjars with auto-precompile jsx files with plugin for sbt-web.
But its not working. What I did was:
added plugin:
addSbtPlugin("com.github.ddispaltro" % "sbt-reactjs" % "0.6.8")
enabled in build.sbt using SbtWeb
lazy val root = (project in file(".")).enablePlugins(PlayJava, PlayEbean,SbtWeb)
also have react web jar in libraries:
"org.webjars" % "react" % "15.3.2",
For test I put javascript file into folder
public/javascripts/test/test.jsx
I am using Intellij IDEA for my play project and when I run it or build , there is no
test.js file created and when I open page from broswer linked javascript test.js is not found..
What am I doing wrong? Can anyone guide me to some WORKING source code with react.js integrated into play?