livestate-comments
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

<livestate-comments>

This is custom element for an example project for live_state. It adds a comment section to a website.

Usage

Easiest way is to add it to your page via a script tag using unpkg:

<script type="module" src="https://unpkg.com/livestate-comments"></script>

Then, you can use it in your page wherever you like:

<livestate-comments url="wss://livestate-comments.herokuapp.com/socket"></livestate-comments>

Poof! A magical comments section should appear. It serves the same comments on all pages just now. It's likely they'll be deleted periodically, but feel free to play around!

Readme

Keywords

none

Package Sidebar

Install

npm i livestate-comments

Weekly Downloads

1

Version

0.1.3

License

none

Unpacked Size

64.3 kB

Total Files

8

Last publish

Collaborators

  • superchris