Open
Description
Hi,
I installed the plugin this way:
[
"nuxt-matomo",
{
matomoUrl: "//matomo.my.domain/",
siteId: 1,
cookies: false,
},
],
However during yarn generate
I get the following error:
ERROR in components/ExportAs.vue:52:10
TS2339: Property '$matomo' does not exist on type 'ExportAs'.
50 |
51 | foo() {
> 52 | this.$matomo.trackGoal(1)
| ^^^^^^^
53 | }
54 |
As a result, I can't build my website.
FYI, I'm using JetBrains IDE, and they have rich autocomplete for such kind of injections, e.g nuxt-i18n
:
Unfortunately, there's no for matomo:
Do you have any ideas how to resolve it, or at least 492E bypass?
Metadata
Metadata
Assignees
Labels
No labels