or even.yarn incorporate vue-heatmapjs.Usage.To use this plugin bring in it in your main.js.// main.js.bring in Vue coming from 'vue'.bring in heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you can incorporate the v-heatmap ordinance to the dom components you wish to track....You can easily toggle the heatmap on and off by passing a phrase into the instruction:....Button Heatmap....
Using the instruction to a singular embedded component:.You can easily listen closely for occasions through passing an afterAdd technique within the plugin alternatives, which will definitely allow you to get access to as well as procedure the events grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( data).// you can discharge this spine to your analytics server.,. ).An awesome job offered on GitHub, aid the author by expanding it!