or.yarn include vue-heatmapjs.Consumption.To utilize this plugin bring in it in your main.js.// main.js.import Vue from 'vue'.bring in heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you can easily incorporate the v-heatmap instruction to the dom aspects you wish to track....You can toggle the heatmap on and also off through passing a phrase in to the regulation:....Toggle Heatmap....
Using the regulation to a single nested part:.You can listen for occasions through passing an afterAdd strategy within the plugin possibilities, which will certainly permit you to accessibility as well as method the events grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( information).// you can easily ax this back to your analytics server.,. ).A great project accessible on GitHub, assist the author through extending it!