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

    6.10.0 • Public • Published


    Official Sentry SDK for Vue.js

    Links

    General

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

    It targets Vue version 2.x. Support for 3.x is tracked by GitHub issue #2925.

    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 '@sentry/vue'
    
    Sentry.init({
      Vue: Vue,
      dsn: '__PUBLIC_DSN__',
    })
    
    new Vue({
      el: '#app',
      router,
      components: { App },
      template: '<App/>'
    })

    Keywords

    none

    Install

    npm i @sentry/vue

    DownloadsWeekly Downloads

    59,286

    Version

    6.10.0

    License

    MIT

    Unpacked Size

    1.3 MB

    Total Files

    71

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar