0.1.2 • Published 8 months ago

@documate/ui v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Documate-UI

Build Documate UI using native JavaScript without any framework dependencies.

@documate/ui will automatically search for DOM elements with the ID ask-ai on the page, so you don't need to perform any manual initialization. The only thing you need to do is provide a button with the ID ask-ai on the page.

Usage

Import from CDN:

<button id="ask-ai" data-endpoint="https://xxxxxxxx.us.aircode.run/ask"></button>
...
<script src="https://unpkg.com/@documate/ui"></script>

Import from Node:

npm install @documate/ui
import 'documate-ui';
0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago

0.0.1

8 months ago