or.yarn incorporate vue-heatmapjs.Use.To utilize this plugin bring in it in your main.js.// main.js.bring in Vue coming from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And afterwards you may add the v-heatmap ordinance to the dom aspects you desire to track....You may toggle the heatmap on and also off through passing an expression into the regulation:....Toggle Heatmap....
Utilizing the instruction to a singular nested component:.You can easily pay attention for activities by passing an afterAdd technique within the plugin choices, which are going to enable you to accessibility and also method the activities caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( records).// you can terminate this back to your analytics hosting server.,. ).An awesome venture readily available on GitHub, help the author through expanding it!