Closed jordan-boyer closed 4 years ago
This looks good. I'll have to double check this as there's some fundamental changes that could break stuff.
I made some additional changes to improve tracking, as nextTick was used to ensure that the window.location got updated before the tracking request was sent.
https://github.com/AmazingDreams/vue-matomo/tree/jordan-boyer-chore/compatibility-with-vue-2-and-3
I just need to set up a test / demo with vue 3
Do you want me to set up a demo like you did with Vue 2 ?
I have already set up a demo on the linked branch, I think it works properly but I haven't gotten around to testing various router settings like the base path in vue 3
Description
This PR add compatibility for the new version of Vue (3)
Proof of concept
Link for Vue 2 Link for Vue 3