or even.yarn incorporate vue-heatmapjs.Consumption.To use 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 can easily add the v-heatmap instruction to the dom elements you desire to track....You can toggle the heatmap on and also off by passing an articulation into the instruction:....Toggle Heatmap....
Using the instruction to a single nested component:.You can listen closely for celebrations through passing an afterAdd approach within the plugin alternatives, which will definitely permit you to access and also method the occasions caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( data) console.log( information).// you can easily discharge this spine to your analytics web server.,. ).An amazing task offered on GitHub, help the author through increasing it!