I am using sbt-reactjs to compile JSX files used by react.js framework. Well I started using.
but I am getting compilation error:
play.sbt.PlayExceptions$CompilationException: Compilation error[Parse Error: Line 1: Illegal import declaration]
All guide/examples I found are either using npm and not webjars and babel for compilation.
And all guides I found for using react.js with play framework were short only having 2 components in one jsx file.
Can anyone point me what would be best way to use react.js with play-framework?