A web component for displaying the NTP-synced time on lucos apps
- ES Modules
- Web Components
Include the following in your javascript:
import 'lucos_time_component';
Include the following in your html:
<lucos-time></lucos-time>
Run:
npm run example
This uses webpack to build the javascript and then opens a html page which includes the web component
Run:
npm test
Make sure to bump the version number in package.json.
Then run npm publish
(assuming you're already logged in)