Closed zy4 closed 6 years ago
Is there an example we use already where I can see how this is done. I tried for a while but always a little confused with the controllers and how to load the template in the vdom.
Sure, we do it with all the result views, also the help pages are embedded that way.
I did it for the updates/quicklinks section. I didn't find another place where it seemed necessary.
Bigger portions of static html code can be put in twirl templates and loaded async into the vdom. This makes the html more maintainable, e.g. the updates sections.
Writing many lines of static html in native mithril is not very convenient.