nuxt-mailru-counter
v1.0.0
Published
Add mail.ru counter to your nuxt.js application
Downloads
126
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-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