template-web-component
This is a template for creating new web component repositories.
Installation
npm i @wonkytech/template-web-component
Usage
<script type="module">
import 'template-web-component';
</script>
<template-web-component></template-web-component>
Development
Note:
- To publish, the user needs appropriate permissions to do so.
- Publish will fail the first time it is run, if Two Factor authentication is enabled in Github.
- Just rerun publish step, and everything should be good from there.
npm run publish
npm docs:build