or even.anecdote include vue-heatmapjs.Use.To utilize this plugin import it in your main.js.// main.js.import Vue from 'vue'.import heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you can add the v-heatmap ordinance to the dom components you would like to track....You can easily toggle the heatmap on as well as off by passing an articulation in to the regulation:....Button Heatmap....
Utilizing the regulation to a single nested component:.You can pay attention for events through passing an afterAdd technique within the plugin options, which will enable you to access and also procedure the occasions recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( data).// you may shoot this spine to your analytics hosting server.,. ).A great venture on call on GitHub, aid the author by increasing it!