nuxt-mailru-counter
v1.0.0
Published
Add mail.ru counter to your nuxt.js application
Readme
mail.ru counter
Add mail.ru counter to your nuxt.js application.
This plugins automatically sends first page and route change events to mail.ru counter.
Note: mail.ru counter is not enabled in dev mode.
You can set environment variable NODE_ENV to production for testing in dev mode.
Setup
- Add
nuxt-mailru-counterdependency using yarn or npm to your project - Add
nuxt-mailru-countertomodulessection ofnuxt.config.js
{
modules: [
[
'nuxt-mailru-counter',
{
id: 'xxxxxxx'
}
]
]
}id
- Required
