lumeland / lume

🔥 Static site generator for Deno 🦕
https://lume.land
MIT License
1.88k stars 86 forks source link

Add webc support #325

Open oscarotero opened 1 year ago

oscarotero commented 1 year ago

Enter your suggestions in details:

Add the webc plugin to use webc components. Based on https://github.com/dz4k/denizaksimsek.com/blob/master/_build/webc.ts

JosefJezek commented 1 year ago

Do you plan to support for webc? We also need is-land element.

oscarotero commented 1 year ago

There's an initial version here: https://github.com/lumeland/experimental-plugins/tree/main/webc It needs more work but there's a demo with the basic usage.

is-land element doesn't need a plugin, it's a web component. You only have to import the script and that's all.

JosefJezek commented 1 year ago

We need support for webc:keep. Do you have an idea for implementation with JS and CSS bundler in Lume?

https://github.com/11ty/eleventy-plugin-bundle#use-with-webc