issues getting this to work with Vue
The-Lord-of-Owls opened this issue · 1 comments
The-Lord-of-Owls commented
Basically when trying to use this with Vue I get the following error
TypeError: Cannot set properties of null (setting 'innerHTML') at index.js:188:27
I have ran npm install github-calendar
assets/main.css
@import "github-calendar/dist/github-calendar.css";
views/ActivityView.vue
<script setup lang="ts">
//Does not seem to work, need to investigate
import GitHubCalendar from "github-calendar"
GitHubCalendar( ".calendar", "The-Lord-of-Owls", {
responsive: true
} )
</script>
<template>
<div class="container-sm">
<div class="calendar">
<h3 class="green">Loading Github User History...</h3>
</div>
</div>
</template>
IonicaBizau commented
It is perhaps related to the recent issues in the library. It should be fixed now.