You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
284 B

  1. import Vue from 'vue';
  2. import ActivityHeatmap from '../components/ActivityHeatmap.vue';
  3. export default async function initUserHeatmap() {
  4. const el = document.getElementById('user-heatmap');
  5. if (!el) return;
  6. const View = Vue.extend(ActivityHeatmap);
  7. new View().$mount(el);
  8. }