rabotaru / yandex-metrika Goto Github PK
View Code? Open in Web Editor NEWThe most powerful plugin to work with Yandex Metrika in your Nuxt.js application.
The most powerful plugin to work with Yandex Metrika in your Nuxt.js application.
dep:
"npm": "^6.5.0",
"nuxt": "^2.3.4",
Hello
I have the next error while running npm run build:
ERROR in ./node_modules/@rabota/analytics-layer/src/layer.js 9:12
Module parse failed: Unexpected token (9:12)
You may need an appropriate loader to handle this file type.
| * @Private
| */
_provider = '';
|
| /**
@ ./node_modules/@rabota/analytics-layer/src/index.js 3:0-24 3:0-24
@ ./node_modules/@rabota/analytics-layer/index.js
@ ./.nuxt/yandex-metrika.plugin.68a5ea40.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi ./.nuxt/client.js
Nuxt config file contains such code :
['@rabota/yandex-metrika',
[{
counter: 527xxxxx,
options: {
defer: true, // required by single page applications
webvisor: true,
clickmap: true,
trackLinks: true,
accurateTrackBounce: true,
},
noscript: true, // insert `noscript` content for each counter
logging: true, // logs all events to each counter
development: true
}]
]
Maybe you know how to fix it.
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.