ybug-vue

A simple Vue 3 wrapper for Ybug's Feedback Widget API.
12,269
Install
npm install ybug-vue
Latest Version:1.2.0
Vue:3
License:MIT
Last Updated:Apr 13, 2023
Links: GitHub  ·  npm
Maintainer: hernest

Ybug-vue

A simple Vue 3 wrapper for Ybug's Feedback Widget API.

Installation

npm install --save ybug-vue

Setup

Install the plugin. You can use any setting mentioned in the documentation.

import { createApp } from 'vue';
import Ybug from 'ybug-vue';

const app = createApp({});

app.use(Ybug, {
    id: 'Your Project ID goes here',
    /* optional options */
    settings: {
        language_override: 'cs',
        /* ... */
    }
});

Usage

You can use any method mentioned in the official documentation.

Usage with Composition API

You can inject('ybug') in your Composition API components.

<script setup>
import { inject } from "vue";
const ybug = inject("ybug");
</script>

<template>
  <button @click="ybug.open('feedback')">Feedback</button>
</template>

Usage with Options API

ybug-vue plugin exposes $ybug object in components using the Options API.

<template>
  <button @click="$ybug.open('feedback')">Feedback</button>
</template>

Related Packages

@europeana/feedback-widget

Europeana feedback widget

7,173 0
agentation-vue

Visual feedback tool for AI coding agents — Vue 2.7 & 3

89,480 16
glitterball

Glitterball on your prototype: record walkthroughs over the live app and share t...

306
@edutalk/vue-feedback-widget

Modern, standalone feedback and bug reporting widget for Vue 3 with screenshot c...

968

Version History

Version Released License
1.2.0 MIT
1.1.0 MIT
1.0.0 MIT