Open SchmidtDawid opened 4 years ago
I got rid of this error when using <carousel>
and <slide>
only in the html and only
<template>
<div>
<slot />
</div>
</template>
in the .vue file But I am a noob to vue so I don't really understand the way components should be built :)
I have custom component look like this:
How to test it? When i want to mount (not shallowMount) component i got error:
[Vue warn]: Unknown custom element: <carousel> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
I cant stub it because i need to test function in slides.