gtm-support / vue-gtm

Simple implementation of Google Tag Manager for Vue
https://www.npmjs.com/package/@gtm-support/vue-gtm
MIT License
192 stars 23 forks source link

Bug: router can not be passed to the plugin because the corresponding property doesn #411

Closed itinance closed 5 months ago

itinance commented 5 months ago

Info

Tool Version
Plugin v2.2.0
Vue v3.0.0
Node v18.7.1
OS mac

Input

app.use(
  createGtm({
    id: 'GTM-xxxxxx', 
   vueRouter: router

Output or Error

Property 'vouRouter' doesn't exist.

Expected Output

// nothing

Additional Context

The README states how to pass the router to the plugin. However, the mentioned property doesn't exists. How to do that?