1.1.0 • Published 4 years ago

@system76/nuxt-appsignal v1.1.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
4 years ago

This package relies on upstream AppSignal packages like @appsignal/nodejs, which are still in alpha. Consider this package also an alpha.

This is a Nuxt module to integration AppSignal Application Monitoring.

Using

1) Install the package:

npm install --save @system76/nuxt-appsignal

2) Configure the package:

module.exports = {
  modules: [
    ['@system76/nuxt-appsignal', {
      name: 'demo-app',
      revision: '1',
      key: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
      frontendKey: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
    }]
  ]
}

You can also specify the configuration top level like so:

module.exports = {
  modules: [
    '@system76/nuxt-appsignal'
  ],

  appsignal: {
    name: 'demo-app',
    revision: '1',
    key: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
    frontendKey: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
  }
}

3) (Optional, but recommended) Configure source maps:

module.exports = {
  build: {
    extend (config, ctx) {
      config.devtool = 'source-map'
    }
  }
}

4) Hack the planet:

Hack the planet!

Development

Outside contributions are always welcome. Please open up an issue or submit a pull request if you have problems or need help.

Publishing

Please use the Angular Commit Message Conventions to automate semver bumping. This is all automated with semantic-release when something is pushed to master.