TerryZ / v-dialogs

A simple style useful dialog component collection for Vue
https://terryz.github.io/docs-vue3/dialog/
MIT License
130 stars 27 forks source link

Component type check error #28

Closed codeclipse closed 4 years ago

codeclipse commented 4 years ago

When exporting component with @Component decorator from vue-class-component / vue-property-decorator it is not a plain object.

[Vue warn]: Invalid prop: type check failed for prop "component". Expected Object, got Function 

found in

---> <DialogModal>
       <Root>

Adding Function as allowed type should fix it.