Leaf Templates

Leaf is Vapor's component for rendering dynamic templates. Rather than writing HTML strings by hand in our router, we can write leaf templates that allow us to mix HTML with code. Since Leaf is a separate package, we will show how to integrate this into your project from scratch, to get an overview of how dependencies are assembled in a Vapor project.

This is a companion discussion topic for the original entry at https://nsscreencast.com/episodes/351-vapor-leaf-templates