Leaf
🍃 An expressive, performant, and extensible templating language built for Swift.
Install / Use
/learn @vapor/LeafREADME
<p align="center">
<img src="https://design.vapor.codes/images/vapor-leaf.svg" height="96" alt="Leaf">
<br>
<br>
<a href="https://docs.vapor.codes/4.0/"><img src="https://design.vapor.codes/images/readthedocs.svg" alt="Documentation"></a>
<a href="https://discord.gg/vapor"><img src="https://design.vapor.codes/images/discordchat.svg" alt="Team Chat"></a>
<a href="LICENSE"><img src="https://design.vapor.codes/images/mitlicense.svg" alt="MIT License"></a>
<a href="https://github.com/vapor/leaf/actions/workflows/test.yml"><img src="https://img.shields.io/github/actions/workflow/status/vapor/leaf/test.yml?event=push&style=plastic&logo=github&label=tests&logoColor=%23ccc" alt="Continuous Integration"></a>
<a href="https://codecov.io/github/vapor/leaf"><img src="https://img.shields.io/codecov/c/github/vapor/leaf?style=plastic&logo=codecov&label=codecov"></a>
<a href="https://swift.org"><img src="https://design.vapor.codes/images/swift510up.svg" alt="Swift 5.10+"></a>
</p>
<br>
Leaf provides integrations between LeafKit and Vapor to make it easy to use Leaf templates in your Vapor app. It provides extensions to make it easy to set up, configure and use Leaf as your renderer in Vapor. It also conforms LeafRenderer to ViewRenderer so it can be used to render generic Views in Vapor.
