Skip to content
/ web-component Public template

A starter project for building re-usable web components using lit-element

Notifications You must be signed in to change notification settings

danleyb2/web-component

Repository files navigation

web-component

Web Component Starter

Node.js Package

A starter project for building re-usable web components using lit-element

Features

  • LitElement for a declarative UI, automatic updates when properties change.
  • Follows Web Components standards, works with any framework
  • Building with bundling and transpilation using polymer build
  • Testing with Web-Component-Tester

Usage

  1. load module
    <!-- Bottom of body -->
    <script type="module" src="https://unpkg.com/@danleyb2/web-component"></script>
  2. use component
    <web-component></web-component>