or.yarn incorporate vue-heatmapjs.Usage.To utilize this plugin bring in it in your main.js.// main.js.import Vue from 'vue'.bring in heatmap coming from 'vue-heatmapjs'.Vue.use( heatmap).And then you can incorporate the v-heatmap directive to the dom factors you want to track....You can toggle the heatmap on and off by passing a phrase in to the instruction:....Toggle Heatmap....
Utilizing the regulation to a singular embedded component:.You can listen for occasions through passing an afterAdd approach within the plugin options, which are going to allow you to get access to as well as procedure the activities grabbed for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( data).// you can easily discharge this back to your analytics server.,. ).A great task readily available on GitHub, help the writer through expanding it!