For Vue.js applications
Add Ask AI to your Vue app
Add an Ask AI chatbot to your Vue app by dropping <biel-button> into any template. Readers get source-cited answers from your indexed content, in their language.
14-day freeSelf-serveLive in 15 min
Biel.ai chatbot
Powered by biel.ai
Assistant
Hi! how can I help you?
Suggested questions
enable dark mode
Assistant
To enable dark mode for Biel.ai on your website, follow these steps:
- Modify your website’s main HTML file.
- Add the attribute
data-theme="dark"to the<html>tag.
html
<html data-theme="dark">
<!-- Your existing HTML content -->
</html>This change activates the dark mode styling for Biel.ai…
AI-generated answers may contain errors. Verify official sources before use.
Used by teams that take their documentation seriously
Install
Three ways to ship Biel in Vue
Drop in the chatbot button, swap in an AI search field, or expose your content via MCP for AI agents. Same web-component pattern across all three.
Full installation guideDrop in <biel-button> as a web component
Vue treats unknown HTML tags as web components by default, so the Biel widget renders directly inside any
<template> block. Install biel-search, import the assets, and write the tag.- →Floating Ask AI button on every page
- →Vue 2 and Vue 3 both supported
- →Vue CLI, Vite, Nuxt: all work
- →No additional Vue plugin or wrapper required
src/App.vue
<script>
// 1. npm install biel-search
import 'biel-search/dist/biel-search/biel-search.css';
import 'biel-search/dist/biel-search/biel-search.esm.js';
export default { name: 'App' }
</script>
<template>
<div id="app">
<!-- ...your app... -->
<biel-button
project="<YOUR_PROJECT_ID>"
header-title="Documentation AI"
button-position="bottom-right"
button-style="dark">
Ask AI
</biel-button>
</div>
</template>Things teams ask during evaluation
Will it work with Vue 2 and Vue 3?
Yes. Both supported. The widget is a web component, so it renders inside any Vue template without a Vue-specific wrapper. Vue CLI, Vite, and Nuxt all work the same way.
Does Vue complain about unknown elements?
Vue 3 treats hyphenated tags as web components by default. Vue 2 may need a small
compilerOptions.isCustomElement tweak. The install guide has the one-line config.Does it work with Nuxt?
Yes. Nuxt 3 needs a
plugins/biel.client.ts file (client-only, since the web component does not render server-side). Nuxt 2 works with the same Vue 2 setup.Can we customize colors and styling?
Yes. Pass attributes for color, position, and style, or use CSS custom properties (
--biel-primary-color and friends) to override at the theme level.Will it work with VuePress and VitePress?
Yes. Those have their own dedicated install guides. The Vue install on this page is for general-purpose Vue applications, not docs sites built on VuePress / VitePress.
How long does the install take?
npm install, two import lines, one tag. Most teams are live in 15 minutes including indexing.
Where does our content go?
EU-hosted by default. GDPR compliant. Your content is never used to train models.
Make your Vue app answer questions
14-day free trial · No credit card required · From $50/mo
Use a different platform? See our integration pages for React, Next.js, Gatsby, Docusaurus, and MkDocs.