Eleventy plugin for static rendering of Lit components

The Lit team is pleased to announce an experimental preview release of @lit-labs/eleventy-plugin-lit, a new plugin for Eleventy that renders your Lit components as static HTML during your Eleventy build, and lets you hydrate them after your JavaScript loads. This is pretty nice, as out comes Declarative Shadow DOM-compatible which Chromium-based browsers can render, while …


This content originally appeared on Bram.us and was authored by Bramus!

The Lit team is pleased to announce an experimental preview release of @lit-labs/eleventy-plugin-lit, a new plugin for Eleventy that renders your Lit components as static HTML during your Eleventy build, and lets you hydrate them after your JavaScript loads.

This is pretty nice, as out comes Declarative Shadow DOM-compatible which Chromium-based browsers can render, while awaiting rehydration. The heavy lifting is done by @lit-labs/ssr, so you can most likely find package for frameworks other than 11ty out there.

Eleventy + Lit Announcement Post →
@lit-labs/eleventy-plugin-lit (GitHub) →


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate Updates
APA

Bramus! | Sciencx (2022-03-06T17:28:44+00:00) Eleventy plugin for static rendering of Lit components. Retrieved from https://www.scien.cx/2022/03/06/eleventy-plugin-for-static-rendering-of-lit-components/

MLA
" » Eleventy plugin for static rendering of Lit components." Bramus! | Sciencx - Sunday March 6, 2022, https://www.scien.cx/2022/03/06/eleventy-plugin-for-static-rendering-of-lit-components/
HARVARD
Bramus! | Sciencx Sunday March 6, 2022 » Eleventy plugin for static rendering of Lit components., viewed ,<https://www.scien.cx/2022/03/06/eleventy-plugin-for-static-rendering-of-lit-components/>
VANCOUVER
Bramus! | Sciencx - » Eleventy plugin for static rendering of Lit components. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/03/06/eleventy-plugin-for-static-rendering-of-lit-components/
CHICAGO
" » Eleventy plugin for static rendering of Lit components." Bramus! | Sciencx - Accessed . https://www.scien.cx/2022/03/06/eleventy-plugin-for-static-rendering-of-lit-components/
IEEE
" » Eleventy plugin for static rendering of Lit components." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2022/03/06/eleventy-plugin-for-static-rendering-of-lit-components/. [Accessed: ]
rf:citation
» Eleventy plugin for static rendering of Lit components | Bramus! | Sciencx | https://www.scien.cx/2022/03/06/eleventy-plugin-for-static-rendering-of-lit-components/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.