84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
Install npm i vue-cal
npm i vue-cal
In my js file:
Import VueCal
I get this message in the console: Unable to resolve module specifier 'vue-cal'
Unable to resolve module specifier 'vue-cal'
Related to Doc, Vue Cal is a component, so you have to use it like a component.
You have to do something like this:
import VueCal from 'vue-cal' import 'vue-cal/dist/vuecal.css' export default { components: { VueCal }, ... }
Documentationhttps://antoniandre.github.io/vue-cal/
Still getting errors?
You can remove the import above and use the scriptin the documentation related to the section above or via the tag.
In the head tag of the file index.html:
...
Now that Vue cal is fully available in your vue application, you just need to go into your component and do the following:
export default { components: { VueCal: vuecal }, }
Related to Doc, Vue Cal is a component, so you have to use it like a component.
You have to do something like this:
Documentationhttps://antoniandre.github.io/vue-cal/
Still getting errors?
You can remove the import above and use the scriptin the documentation related to the section above or via the tag.
In the head tag of the file index.html:
Now that Vue cal is fully available in your vue application, you just need to go into your component and do the following: