or even.yarn incorporate vue-heatmapjs.Consumption.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 then you can easily add the v-heatmap directive to the dom elements you wish to track....You can easily toggle the heatmap on and off through passing a phrase in to the directive:....Toggle Heatmap....
Using the regulation to a single embedded component:.You may listen for celebrations by passing an afterAdd procedure within the plugin alternatives, which are going to allow you to gain access to and method the activities grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( records).// you may terminate this spine to your analytics web server.,. ).An amazing venture readily available on GitHub, assist the author by broadening it!