@nuxtjs/speedcurve

1.1.2 • Public • Published

@nuxtjs/speedcurve

npm version npm downloads Github Actions CI Codecov License

Speedcurve LUX integration for Nuxt

Features

  • Collect performance metrics from real users
  • See Javascript errors in your Speedcurve dashboard
  • Add user data to visits to cross reference cohorts and performance
  • Create custom performance markers for deep insights
  • Minimal configuration with sensible defaults
  • On-the-fly runtime config support

Setup

  1. Add @nuxtjs/speedcurve dependency to your project
yarn add @nuxtjs/speedcurve # or npm install @nuxtjs/speedcurve
  1. Add @nuxtjs/speedcurve to the modules section of nuxt.config.js
{
  modules: [
    // Simple usage
    '@nuxtjs/speedcurve',

    // With options
    ['@nuxtjs/speedcurve', { /* module options */ }]
  ]
}

or add options to the lux property in your nuxt.config.js

{
  modules: ['@nuxtjs/speedcurve'],

  lux: {
    // id: 'YOUR_LUX_ID'
    // debugMode: false,
    // enabled: true,
    // logFirstHit: true,
    // sampleRate: 100,
    // translateBool: true,
    // autoStartOnNav: true
  }
}

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

Copyright (c) Josh Deltener hecktarzuli@gmail.com

Readme

Keywords

none

Package Sidebar

Install

npm i @nuxtjs/speedcurve

Weekly Downloads

140

Version

1.1.2

License

MIT

Unpacked Size

14.7 kB

Total Files

7

Last publish

Collaborators

  • antfu
  • danielroe
  • clarkdo
  • pi0
  • atinux
  • alexchopin
  • hecktarzuli