razorness / vue3-calendar-heatmap

A lightweight calendar heatmap Vue 3 component built on SVG, inspired by julienr114's vue-calendar-heatmap and github's contribution calendar graph
https://razorness.github.io/vue3-calendar-heatmap
MIT License
90 stars 18 forks source link

Failed to resolve entry for package #21

Open toniengelhardt opened 1 year ago

toniengelhardt commented 1 year ago

Getting this error in v2.0.1 with Nuxt 3, v2.0.0 works fine.

Failed to resolve entry for package "vue3-calendar-heatmap". The package may have incorrect main/module/exports specified in its package.json.
razorness commented 1 year ago

Hey @toniengelhardt, this should be resolved in v2.0.4 where I fixed the package.json. I also moved tippy.js to a peer dependency, so you'll have to install it manually: yarn add tippy.js.

toniengelhardt commented 1 year ago

Great! Do I also need to include tippy if I don't use the tooltips?

razorness commented 1 year ago

Currently, yes. I plan to make tippy.js and tooltips in general optional. Would save a lot bundle size for users who don't use it anyway.

toniengelhardt commented 1 year ago

Yes, exactly!