Scalajs-react-experiments/server/app/views/index.scala.html

10 lines
220 B
HTML
Raw Permalink Normal View History

2020-06-06 12:32:17 +00:00
@(message: String)
@main("Play with Scala.js") {
<h2>Play and Scala.js share a same message</h2>
<ul>
<li>Play shouts out: <em>@message</em></li>
<li>Scala.js shouts out: <em id="scalajsShoutOut"></em></li>
</ul>
}