1

I am using @gravitano/vue-date-range-picker. I am using vuejs3.

<script>
   import DateRangePicker from "@gravitano/vue-date-range-picker";                                       
   export default {
   components:{
    DateRangePicker
  },
   data(){
    return {
    range: ["01/09/2018", "01/10/2018"]
    };
  },
  }
</script>

//Template

<template>
   <date-range-picker v-model="range" />
</template>

I am getting following error and daterangepicker is not visible.

Component is missing template or render function

4
  • That GitHub project looks unused and unupdated, and its instructions are wrong. It can't be imported as a component like that. I would look into using a different one. This looks ok Commented Feb 9, 2021 at 13:59
  • Is there anything available like following: codesthq.github.io/vuelendar-demo Commented Feb 9, 2021 at 14:32
  • github.com/antoniandre/vue-cal - npm i vue-cal@next Commented Feb 9, 2021 at 14:39
  • This one looks compatible with vue3, thanks! but not sure how to convert it to DateRange Picker Commented Feb 9, 2021 at 14:54

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.