or.yarn incorporate 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 may incorporate the v-heatmap ordinance to the dom components you desire to track....You may toggle the heatmap on and also off by passing an articulation in to the instruction:....Button Heatmap....
Making use of the ordinance to a solitary nested part:.You may listen closely for events by passing an afterAdd procedure within the plugin alternatives, which are going to permit you to accessibility and also process the activities caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( information).// you can easily terminate this back to your analytics server.,. ).A cool job on call on GitHub, help the author by increasing it!