hello-web-components
v1.4.0
Published
A simple starter hello world web component written in typescript, using lit
Downloads
45
Maintainers
Readme
hello-web-components
A simple starter <hello-world /> web component written in typescript, using lit. Unit tested with jest and e2e tested with puppeteer and jest-puppeteer.
Usage
Clone the repository and modify it to your needs
git clone --depth 1 https://github.com/fernandopasik/hello-web-components.git
Install the package in your project and import the component
npm i hello-web-components lit
import { html, render } from 'lit';
import 'hello-web-components';
const test = () => html`<hello-world who="web components"></hello-world>`;
render(test(), document.body);
License
MIT (c) 2020 Fernando Pasik