hello-web-components
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

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.

Gzip Bundle Size Build Status Coverage Status Known Vulnerabilities

npm version npm downloads

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

/hello-web-components/

    Package Sidebar

    Install

    npm i hello-web-components

    Weekly Downloads

    0

    Version

    1.4.0

    License

    MIT

    Unpacked Size

    14.7 kB

    Total Files

    13

    Last publish

    Collaborators

    • fernandopasik