@eonx/reporter-bugsnag-vue
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Bugsnag Reporter Engine for Vue

This engine should use with @eonx/reporter library.

Getting started

import { createApp } from 'vue';
import { reporter } from '@eonx/reporter';

reporter.configure({
  engines: {
    bugsnag: () => import('@eonx/reporter-bugsnag-vue'),
  },
});

async function bootstrap() {
  const app = createApp(App);

  await reporter.initWithKey('api_key');

  const plugin = reporter.getAppPlugin();

  if (plugin) {
    app.use(plugin);
  }

  app.mount('#app');
}

bootstrap();

Package Sidebar

Install

npm i @eonx/reporter-bugsnag-vue

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.01 kB

Total Files

4

Last publish

Collaborators

  • ryan.goce.eonx
  • natepage