@documate/vue

@documate/vue
7,120
Install
npm install @documate/vue
Latest Version:0.3.1
Vue:3
Last Updated:Sep 28, 2023
Links: npm
Maintainer: spritejs

@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:

Join the Documate Discord

Related Packages

eslint-plugin-vue

Official ESLint plugin for Vue.js

266,364,830 4,591
markdown-to-jsx

A very fast and versatile markdown toolchain. AST, React, React Native, SolidJS,...

214,042,213 2,394
vee-validate

Painless forms for Vue.js

45,982,707 11,260
vue-resize

Detects DOM element resizing

45,491,034 505
@scalar/use-toasts

display toasts in Vue

24,371,992 16,329

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