Socket
Book a DemoInstallSign in
Socket

@nuxtjs/sentry

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxtjs/sentry

Sentry module for Nuxt.js

Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
47K
-7.54%
Maintainers
1
Weekly downloads
 
Created
Source

@nuxtjs/sentry

npm (scoped with tag) npm CircleCI Codecov Dependencies js-standard-style

Sentry module for Nuxt.js

Features

The module enables error logging through Sentry.

Setup

  • Add @nuxtjs/sentry dependency using yarn or npm to your project
  • Add @nuxtjs/sentry to modules section of nuxt.config.js
{
  modules: [
    ['@nuxtjs/sentry', {
      public_key: '',
      private_key: '',
      project_id: '',
      config: {
        environment: process.env.NODE_ENV !== 'production' ? 'development' : 'production',
        // Additional config
      },
    }],
 ]
}

Usage

Enter your DSN in the NuxtJS config file. Additional config settings can be found here.

License

MIT License

Copyright (c) Diederik van den Burger diederik@webrelated.nl

FAQs

Package last updated on 17 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts