Full visibility into your Nuxt render time for optimising performance
- Uses Nuxt
server.timings
to inject additional timings - Adds timings for Nuxt plugins and Vuex actions/mutations
- Add
nuxt-timings
dependency to your project
yarn add nuxt-timings # or npm install nuxt-timings
- Add
nuxt-timings
to thebuildModules
section ofnuxt.config.js
{
buildModules: [
'nuxt-timings',
],
timings: {
// default value
enabled: process.env.NODE_ENV === 'development'
}
}
- Clone this repository
- Install dependencies using
yarn install
- Start development server using
yarn dev