zachleat’s avatarzachleat’s Twitter Archive—№ 45,056

  1. WebC is a new framework-independent HTML compiler for Single File Web Components: github.com/11ty/webc This is an early preview and I welcome feedback! I think it’s a great way to build standards-based HTML-first components without JavaScript framework overhead 🙌🏻
    import { WebC } from "@11ty/webc";

let component = new WebC();

let { html, css, js, components } = await component.compile();
    1. …in reply to @zachleat
      Uh… I added installation instructions to the README—sorry about that, folks! 😅 (and thanks to @m_yxnk for the nod)
      1. …in reply to @zachleat
        Pushed a quick v0.1.1 with Windows fixes. github.com/11ty/webc/milestone/1?closed=1
        1. …in reply to @zachleat
          First external contributor to WebC: the one and only @paul_irish 😀🏆 github.com/11ty/webc/pull/4