LitElements-Demo

Litelements Demo

Web Components library and demos on how to use them in #Angular, #React, #Svelte and #Vue

LitElements Demo

Im this project I created a couple of Web Components using LitElement and then use them in projects with: Angular, React, and Svelte.

Getting Started

Development

  1. Install polymer-cli: npm install -g polymer-cli
  2. Then npm install
  3. Run polymer serve

Production

  1. Build: npm run build
  2. And... publish to your npm

Demos:

Inside the folder /demos we have each project:

  1. ng-wc: Angular
  2. react-wc: React
  3. svelte-wc: Svelte

Inside each folder you'll find the readme with more instructions.

  1. Web Components npm package: https://www.npmjs.com/package/lit-element-demo

Top categories

Loading Svelte Themes