Duration
5 min
Access
Pro
Transcript
Available

By passing a slots option to our cy.mount() function, we can define content to be rendered inside our current component. We can use default or named components and eve use Vue’s h() function to create element and pass components with desired properties.