Object prototype may only be an Object or null: undefined

Just writing a simple wrapper component to test your library. Get this error.

Using Vue 3, Vue-cli 4.5.7.

Should be super straight-forward. Code looks like:

```

<template>

  <div class="checkbox-wrapper">

    <ejs-checkbox id="checkbox" class="checkbox-wrapper"></ejs-checkbox>

  </div>

</template>


<script>

import { CheckBoxComponent } from "@syncfusion/ej2-vue-buttons";


export default {

  name: "CheckboxWrapper",

  components: {

    "ejs-checkbox": CheckBoxComponent,

  },

};

</script>

```


I'll add that the lack of a definitive Vue 3 guide on your components is a real pain. Any plans to add one soon? 


4 Replies

AS Aravinthan Seetharaman Syncfusion Team September 9, 2021 03:26 AM UTC

Hi Eric, 
 
Thanks for contacting Syncfusion Support. 
 
We have checked your query. We would like to let you know that we have UG link for Creating Samples in Vue3. Please refer the below UG link for more details. 
 
 
Could you please check the above details, and get back to us, if you need assistance on this. 
 
Regards, 
Aravinthan S 



EB Eric Brewer September 9, 2021 03:46 PM UTC

Hey, thanks for getting back. 


Turns out the problem was that I was using the latest version of vue-component-class instead of the v8 beta. 



GK Gayathri KarunaiAnandam Syncfusion Team September 12, 2021 02:42 PM UTC

Hi Eric, 

We have checked your reported query . We need to validate more on this query. So, we will update you the further details on or within September 14th, 2021. We appreciate your patience until then. 

Regards, 
Gayathri K 



GK Gayathri KarunaiAnandam Syncfusion Team September 14, 2021 05:28 AM UTC

Hi Eric, 

As we mentioned in the documentation about vue-class-component package, we need to install the mentioned version (8.0.0-rc.1). So please update this version in your sample and run the application. Please find the below link.  
 
  


Please let us know if you have any concerns.  

Regards,  
Gayathri K 


Loader.
Up arrow icon