From 1879c363504cc77117d7149c9d32d6ec6bf41b1b Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Wed, 13 Dec 2023 15:32:17 +0100 Subject: [PATCH] feat(site): show example of custom template w/ lit-html (#26) --- site/src/pages/index.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/site/src/pages/index.html b/site/src/pages/index.html index 4938d5b..664c08b 100644 --- a/site/src/pages/index.html +++ b/site/src/pages/index.html @@ -66,8 +66,15 @@
  • Sensible life-cycle hooks that you understand and remember
  • - A minimal html function for tagged - templates powered by Preact's tiny (450 Bytes) + Use a custom templating syntax you are familiar with, like + lit-html (example) +
  • +
  • + Built-in minimal html function for + tagged templates powered by Preact's tiny (450 Bytes) htm/mini