1.0.0 • Published 5 years ago
nuxt-mailru-counter v1.0.0
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-counter
dependency using yarn or npm to your project - Add
nuxt-mailru-counter
tomodules
section ofnuxt.config.js
{
modules: [
[
'nuxt-mailru-counter',
{
id: 'xxxxxxx'
}
]
]
}
id
- Required
1.0.0
5 years ago