Martin Lasek
1 min readJul 24, 2018

--

Hey Tony, no worries, keep asking questions!

To answer yours Leaf is not the frontend for Vapor. It is a Templating-Language that makes it easier for you to generate the html with the data from the backend you want/need before it is send to the client.

So it needs to get parsed (on the server) before sending the site to the user.

Since Angular (and ReactJS and VueJS) would not ask the backend for “html” sites but actually work as a Frontend that requests data (most likely transferred using JSON) Leaf would become useless here — so I understand why it feels like Leaf is an alternative because you usually wouldn’t use both 😊

I hope that answers your question! In case not, you definitely should join Discord! There are even more peeps keen to answer your questions: http://vapor.team/

--

--

Martin Lasek
Martin Lasek

Written by Martin Lasek

I'm an always optimistic, open minded and knowledge seeking fullstack developer passionate about UI/UX and changing things for the better :)

No responses yet