A vanilla web component to demo vanilla web components
Installation
npm i @vanillawc/wc-demoThen import the index.js file at the root of the package.
Usage
Attributes
- title - the demo title
- link - link to the demo's GitHub repo
- desc - the demo's description
- src - path to the demo source file
Load an external Markdown file using the src attribute
<wc-demo title="WC-Demo" link="https:/github.com/vanillawc/wc-demo" desc="Basic Usage" src="assets/demo.html"></wc-demo>