or even.yarn incorporate vue-heatmapjs.Consumption.To utilize this plugin bring in it in your main.js.// main.js.import Vue from 'vue'.import heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And after that you can add the v-heatmap directive to the dom components you wish to track....You can easily toggle the heatmap on as well as off through passing an articulation right into the regulation:....Button Heatmap....
Using the ordinance to a solitary nested part:.You can easily listen closely for occasions through passing an afterAdd strategy within the plugin alternatives, which will enable you to get access to and procedure the events caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( data).// you may ax this back to your analytics web server.,. ).An amazing job readily available on GitHub, help the author by broadening it!