All Projects → danielroe → nuxt-timings-module

danielroe / nuxt-timings-module

Licence: MIT License
No description, website, or topics provided.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
Vue
7211 projects
shell
77523 projects

nuxt-timings

nuxt-timings

npm version npm downloads Github Actions CI Codecov License

Full visibility into your Nuxt render time for optimising performance

Features

  • Uses Nuxt server.timings to inject additional timings
  • Adds timings for Nuxt plugins and Vuex actions/mutations

Quick setup

  1. Add nuxt-timings dependency to your project
yarn add nuxt-timings # or npm install nuxt-timings
  1. Add nuxt-timings to the buildModules section of nuxt.config.js
{
  buildModules: [
    'nuxt-timings',
  ],
  timings: {
    // default value
    enabled: process.env.NODE_ENV === 'development'
  }
}

Development

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

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].