-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
89647f5
commit b1bd2f2
Showing
2 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,33 @@ | ||
# nuxt-rambler-top100 | ||
# Nuxt Rambler Top-100 | ||
|
||
This plugin automatically sends first page and route change events to Rambler Top-100. | ||
|
||
**Note:** module is not enabled in dev mode. | ||
You can set environment variable `NODE_ENV` to `production` for testing in dev mode. | ||
|
||
## Setup | ||
|
||
`npm install --save nuxt-rambler-top100` | ||
|
||
Add `nuxt-rambler-top100` to `modules` section of `nuxt.config.js` | ||
|
||
```js | ||
{ | ||
modules: [ | ||
[ | ||
'nuxt-rambler-top100', | ||
{ | ||
// Project ID. Required parameter. | ||
id: 'XXXXXX', | ||
|
||
// Data attributes. Optional parameter. | ||
attributesDataset: ['attribute1', 'attribute2'] | ||
} | ||
] | ||
] | ||
} | ||
``` | ||
|
||
For more information please read the documentation: | ||
|
||
- [Rambler Top-100 documetation](https://doc.top100.rambler.ru/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters