or even.yarn include vue-heatmapjs.Use.To use this plugin bring in it in your main.js.// main.js.bring in Vue from 'vue'.import heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you can incorporate the v-heatmap regulation to the dom aspects you intend to track....You may toggle the heatmap on and off through passing an articulation right into the instruction:....Button Heatmap....
Utilizing the ordinance to a single embedded component:.You can easily listen closely for celebrations through passing an afterAdd approach within the plugin alternatives, which are going to permit you to gain access to as well as procedure the events recorded for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( records).// you may shoot this back to your analytics server.,. ).An amazing project offered on GitHub, help the writer by expanding it!