@bravadoco/nuxt-timings
v0.1.33
Published
Timings integration for Nuxt
Downloads
1
Readme
bravado-nuxt-timings
Full visibility into your Nuxt render time for optimising performance
This is a fork with fixes of the official repository.
Features
- Uses Nuxt
server.timings
to inject additional timings - Adds timings for Nuxt plugins and Vuex actions/mutations
Quick setup
- Add
@bravadoco/nuxt-timings
dependency to your project
yarn add @bravadoco/nuxt-timings # or npm install nuxt-timings
- Add
@bravadoco/nuxt-timings
to thebuildModules
section ofnuxt.config.js
{
buildModules: [
'@bravadoco/nuxt-timings',
],
timings: {
// default value
enabled: process.env.NODE_ENV === 'development'
}
}
Development
- Clone this repository
- Install dependencies using
yarn install
- Start development server using
yarn dev