3 ms·
Well, there is such a tool, actually. http://lhorie.github.io/mithril/tools/template-converter.html http://lhorie.github.io/mithril/tools/template-converter.htm
by abjorn 13y ago
Well, there is such a tool, actually.
http://lhorie.github.io/mithril/tools/template-converter.html http://lhorie.github.io/mithril/tools/template-converter.htm...
But while me and my coworker have been trying it out there seem to be quite a few bugs with it, and I'd much rather have it done at runtime (precompiled for production build) then have to translate it from my HTML-based template every time I make a change.
- lhorie 13y agoCan you file an issue on Github? I still need to make an automated version of this tool (and eventually be able to import from something like Mustache), and I want to make sure it's rock solid.
- hamburglar 13y agoWell, that's a good start, but I was referring to a 'utility' in the sense of a utility method that does it at runtime, as you say.