Overview

This should probably use the mustache library maintained by a Google employee. While that isn't a guarantee of continued maintenance, the package has 96% popularity and is relied upon by pub.dev, so it's fairly likely the package will continue to be maintained.

We can define a simple middleware component that takes a mustache template file and a Response, transmuting them into a valid response with a body containing the html to be served.

Syntax and exact structure are TBD.

Last updated