or even.yarn incorporate vue-heatmapjs.Utilization.To use this plugin import it in your main.js.// main.js.import Vue coming from 'vue'.bring in heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you can incorporate the v-heatmap directive to the dom components you want to track....You can toggle the heatmap on as well as off through passing an expression in to the directive:....Toggle Heatmap....
Utilizing the instruction to a singular embedded component:.You can easily listen for activities by passing an afterAdd technique within the plugin options, which will definitely enable you to get access to and also procedure the occasions recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( information).// you may discharge this back to your analytics server.,. ).An awesome venture on call on GitHub, help the author through growing it!