UX Lift logo

Eleventy & Lit

A new plugin for Eleventy renders your Lit components as static HTML during your eleventy build, and lets you hydrate them after your JavaScript loads. This is close to what I’ve been wanting: a way to use web components like <product-card heading="Product Name" price="$30.00" and have that card render as regular ol’ HTML.

Read the full article

More from Brad Frost

© 2024. Made in Manchester by Matt Kevan.

Privacy

Cookies

Contact