Closed szekelygobe closed 1 year ago
If you are using Vue-cal in Vue + Typescript project, then you can't using module. Because author not add type defenitions to source code (*.d.ts files). You have 2 methods:
Today I also met with the same problem. Solved using first method. I hope the author will add the necessary files to the project to support Typescript. I'm busy at the moment, but as soon as I'm free I can help the author with Typescript
@snurbol #168
there is .d.ts
file for vue2, it might help you
After install
npm i vue-cal
and in my js file:import VueCal from 'vue-cal'
import 'vue-cal/dist/vuecal.css'
failed to import with this error message:Failed to resolve module specifier "vue-cal"