or even.yarn add vue-heatmapjs.Usage.To use this plugin import it in your main.js.// main.js.import Vue coming from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you can incorporate the v-heatmap instruction to the dom components you want to track....You can toggle the heatmap on and also off by passing a phrase right into the directive:....Button Heatmap....
Making use of the ordinance to a singular nested part:.You may pay attention for activities through passing an afterAdd method within the plugin possibilities, which will definitely permit you to accessibility and process the activities captured for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( records).// you can easily ax this back to your analytics hosting server.,. ).A cool venture accessible on GitHub, help the author by growing it!