Files
Atay-Makhzan/web_src/js/features/userheatmap.js
T

11 lines
284 B
JavaScript
Raw Normal View History

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