or.yarn include vue-heatmapjs.Use.To use this plugin bring in it in your main.js.// main.js.bring in Vue from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you may include the v-heatmap ordinance to the dom aspects you intend to track....You can easily toggle the heatmap on and also off through passing a phrase into the regulation:....Button Heatmap....
Making use of the instruction to a solitary embedded component:.You can listen closely for celebrations through passing an afterAdd procedure within the plugin choices, which will allow you to get access to and process the occasions captured for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( records).// you can easily discharge this back to your analytics web server.,. ).A cool job on call on GitHub, assist the writer through expanding it!