1.0.1 • Published 1 year ago

@artmizu/nuxt-analytics v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

GitHub Workflow Status GitHub Workflow Status

Prometheus metrics for the Nuxt applications

Installation

Nuxt 3

Install package via a package manager:

# using npm
npm install --save-dev @artmizu/nuxt-analytics

# using yarm
yarn add -D @artmizu/nuxt-analytics

# using pnpm
pnpm add -D @artmizu/nuxt-analytics

Add it to a modules section of your nuxt config:

export default {
  modules: ['@artmizu/nuxt-analytics']
}

Nuxt 2

Similarly install package and add it to a buildModules section of your nuxt config:

export default {
  buildModules: ['@artmizu/nuxt-analytics']
}

Module parameters

You can pass it through runtime config, module options and the special nuxt config property.