@documate/vue
@documate/vue
A fully accessible AI Search component for Vue 3, designed to integrate beautifully with Documate.
Usage
npm install @documate/vue
<script setup>
import Documate from '@documate/vue'
import '@documate/vue/dist/style.css'
</script>
<template>
<div>
<!-- Replace the URL with your own one -->
<Documate endpoint="https://test123.us.aircode.run/ask" />
</div>
</template>
Other Props check here component-props
Custom Button
<script setup>
import {Dialog} from '@documate/vue'
import '@documate/vue/dist/style.css'
import { ref } from 'vue'
const isOpen = ref(false)
</script>
<template>
<button type="button" @click="isOpen = true">Click me to Ask AI</button>
<Dialog endpoint="https://xqtb17uycg.us.aircode.run/ask",
:predefinedQuestions=[
'What is Documate?',
],
:open = "isOpen"
@close="isOpen = false"></Dialog>
</template>
Documentation
For full documentation, visit documate-vue.
Community
For help, voice ideas, or discussion about best practices:
Discuss Documate on GitHub Discussions
To chat with other community members:
Related Packages
markdown-to-jsx
A very fast and versatile markdown toolchain. AST, React, React Native, SolidJS,...
214,042,213
2,394
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.3.1 | ^3 | ||
| 0.3.0 | ^3 | ||
| 0.2.4 | ^3 | ||
| 0.2.3 | ^3 | ||
| 0.2.2 | ^3 | ||
| 0.2.1 | ^3 | ||
| 0.2.0 | ^3 | ||
| 0.1.1 | ^3.3.4 | ||
| 0.1.0 | ^3.3.4 | ||
| 0.0.17 | ^3.3.4 | ||
| 0.0.16 | ^3.3.4 | ||
| 0.0.15 | ^3.3.4 | ||
| 0.0.14 | ^3.3.4 | ||
| 0.0.13 | ^3.3.4 | ||
| 0.0.12 | ^3.3.4 | ||
| 0.0.11 | ^3.3.4 | ||
| 0.0.10 | ^3.3.4 | ||
| 0.0.9 | ^3.3.4 | ||
| 0.0.8 | ^3.3.4 | ||
| 0.0.7 | ^3.3.4 | ||
| 0.0.6 | ^3.3.4 | ||
| 0.0.5 | ^3.3.4 | ||
| 0.0.4 | ^3.3.4 | ||
| 0.0.3 | ^3.3.4 | ||
| 0.0.2 | ^3.3.4 | ||
| 0.0.1 | ^3.3.4 |