4 ms·
From the brief glance I've taken at Alpine I didn't think it did have a template language - unless you refer to it's use of custom html attributes?
by andybak 6y ago
From the brief glance I've taken at Alpine I didn't think it did have a template language - unless you refer to it's use of custom html attributes?
- mozey 6y agoAlpine has directives like x-if and x-for. For a lightweight templating library I would recommend https://pure-js.com https://pure-js.com. It's been around for ages. The PureJS directives take some time to get used to, but are quite powerful once you do.