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