Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.29 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.29 KB

Desire2Teach: Web Components

Demonstrates building a web component using vanilla JavaScript compared to Lit.

Resources

Web Components

D2L Resources

Setup

Clone the repo and run:

npm install

Run the Demos

To start a development server that hosts the demos, run:

npm start

It should open automatically, and reload whenever changes are made.

By default, index.html loads the vanilla web component (vanilla.js). To use Lit instead, switch it to load lit.js.