@nuxtjs/speedcurve
v1.1.2
Published
Speedcurve LUX integration for Nuxt
Downloads
732
Keywords
Readme
@nuxtjs/speedcurve
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
- Add
@nuxtjs/speedcurve
dependency to your project
yarn add @nuxtjs/speedcurve # or npm install @nuxtjs/speedcurve
- Add
@nuxtjs/speedcurve
to themodules
section ofnuxt.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
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
License
Copyright (c) Josh Deltener [email protected]