2020-02-24 03:04:28 +05:30
|
|
|
import Vue from 'vue';
|
|
|
|
|
2020-04-06 07:01:11 +05:30
|
|
|
import ActivityHeatmap from '../components/ActivityHeatmap.vue';
|
2020-02-24 03:04:28 +05:30
|
|
|
|
2020-04-06 07:01:11 +05:30
|
|
|
export default async function initUserHeatmap() {
|
2020-02-24 03:04:28 +05:30
|
|
|
const el = document.getElementById('user-heatmap');
|
|
|
|
if (!el) return;
|
2020-04-06 07:01:11 +05:30
|
|
|
const View = Vue.extend(ActivityHeatmap);
|
|
|
|
new View().$mount(el);
|
2020-02-24 03:04:28 +05:30
|
|
|
}
|