@symbiosika/bugreport-vue
v0.1.0
Published
Thin Vue 3 wrapper for @symbiosika/bugreport-client: <BugReportButton /> and useBugReport()
Readme
@symbiosika/bugreport-vue
Thin Vue 3 wrapper around @symbiosika/bugreport-client.
<script setup>
import { BugReportButton } from '@symbiosika/bugreport-vue'
const config = { endpoint: '/api/bugreport', app: { id: 'my-app' } }
</script>
<template>
<!-- renders nothing when the platform is not supported -->
<BugReportButton :config="config" />
</template>Or as a composable:
const { start, isSupported, state } = useBugReport(config)See the monorepo README and the integration guide.
