@documate/vanilla

0.3.6 • Public • Published

Documate Vanilla

Build Documate UI using native JavaScript without any framework dependencies.

@documate/vanilla 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/vanilla"></script>

Import from Node:

npm install @documate/vanilla
import 'documate-vanilla';

Readme

Keywords

none

Package Sidebar

Install

npm i @documate/vanilla

Weekly Downloads

40

Version

0.3.6

License

MPL-2.0

Unpacked Size

1.24 MB

Total Files

10

Last publish

Collaborators

  • spritejs
  • kevin_aircode
  • adcent