-
Notifications
You must be signed in to change notification settings - Fork 42
ScalaTags Interoperability #16
Comments
I definately agree with you on this one. Actually, olivergg seems to be exploring a similar idea of using scalatags to auto-generate templates, as you can see here: #10 Although his current approach seems to rely on SBT plugin, rather than directives I believe the basic ideas to be quite similar, and we should consider adopting it in the framework itself in future. |
@mdedetrich If you're still interested and as @mysticfall said, I've implemented a solution based on a SBT task. You can see some example there https://github.com/olivergg/scalajs-ionic-starttabs/tree/master/src/main/scala/com/olivergg/html
|
Thanks @olivergg, will have a look, however getting incremental compilation to work would be a massive boost |
@mdedetrich Well, now that I have separated the source code into three projects (shared, js and jvm), I think it would be easier to do. I'll think of a solution. |
ScalaTags is an excellent high performance HTTP templating library in Scala (https://github.com/lihaoyi/scalatags) that works both in Scala.js and Scala JVM. It would be fantastic if we could provide support for
scalajs-angualar
withscala-tags
so that we can have type highlighting for directives (and even possibly their arguments)It also means that we can use ScalaTags in template sections of Angular, instead of just using raw HTML strings
The text was updated successfully, but these errors were encountered: