@docentjs/vue

Vue bindings for Docent.
4,563 1
Install
npm install @docentjs/vue
Latest Version:0.19.0
Vue:3
License:MIT
Last Updated:Oct 6, 2026
Links: GitHub  ·  npm
Maintainer: fgrreloaded

@docentjs/vue

Vue 3 bindings for Docent, a guided product tour library.

pnpm add @docentjs/vue

One install is enough: defineTour, the types, and @docentjs/vue/themes all come from this package.

<script setup lang="ts">
import { useTour } from '@docentjs/vue'
import { welcomeTour } from './tours'

const tour = useTour(welcomeTour)
</script>

<template>
  <button @click="tour.start()">Take the tour</button>
</template>

Your own popover

<script setup lang="ts">
import { TourPopover, useTour } from '@docentjs/vue'
const tour = useTour(welcomeTour, { popover: true })
</script>

<template>
  <TourPopover :tour="tour" v-slot="{ ctx }">
    <Card :ctx="ctx" />
  </TourPopover>
</template>

Many tours

const docent = useDocent({ tours: [welcome, invoices] })
docent.identify(user.id, { plan: user.plan })

Tours start from their own triggers, conditions and frequency. <TourPopover :tour="docent"> works with it too.

Also provideDocentDefaults() to share renderer defaults, identity, storage and sink.

MIT

Related Packages

@doitrix/product-journey

Production-grade guided product journey engine for Vue 3 — headless core, access...

1,305
@glowhop/vue-tour

Vue 3 product tour and onboarding tour components for GlowTour.js. Accessible, S...

1,473 34
@tour-kit/vue

Headless Vue 3 binding for the Tour Kit engine — product tours with no React ins...

309 68
v-tour-guide

A comprehensive Vue 3 tour guide library with TypeScript support for Vue and Nux...

35,937 19
tour-guide-coach

轻量级交互式漫游引导引擎(Vue 3,零外部依赖,Element Plus 风格)

772

Version History

Version Released License
0.19.0 MIT
0.18.0 MIT
0.17.0 MIT
0.16.0 MIT
0.15.0 MIT