or.yarn add vue-heatmapjs.Consumption.To use this plugin import it in your main.js.// main.js.bring in Vue from 'vue'.bring in heatmap from 'vue-heatmapjs'.Vue.use( heatmap).And then you can include the v-heatmap instruction to the dom components you wish to track....You can easily toggle the heatmap on and off through passing an articulation right into the directive:....Button Heatmap....
Using the regulation to a singular embedded part:.You can easily pay attention for activities by passing an afterAdd approach within the plugin alternatives, which will certainly enable you to accessibility as well as procedure the occasions caught for the heatmap:.// main.js.Vue.use( heatmap, afterAdd( information) console.log( information).// you may fire this back to your analytics web server.,. ).A cool venture accessible on GitHub, assist the writer through growing it!