csii-sentry-vue
TypeScript icon, indicating that this package has built-in type declarations

5.29.0 • Public • Published


Official Sentry SDK for Vue.js

Links

General

This package is a wrapper around csii-sentry-browser, with added functionality related to Vue.js. All methods available in csii-sentry-browser can be imported from csii-sentry-vue.

To use this SDK, call Sentry.init(options) before you create a new Vue instance.

import Vue from 'vue'
import App from './App'
import router from './router'
import * as Sentry from 'csii-sentry-vue'

Sentry.init({
  Vue: Vue,
  dsn: '__PUBLIC_DSN__',
})

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})

/csii-sentry-vue/

    Package Sidebar

    Install

    npm i csii-sentry-vue

    Weekly Downloads

    1

    Version

    5.29.0

    License

    MIT

    Unpacked Size

    1.24 MB

    Total Files

    47

    Last publish

    Collaborators

    • fqs