Start your All-Access Pass to unlock this challenge
Suppose we have an empty component that looks like this:
<template>
<div></div>
</template>
<script>
export default {
name: 'MainComponent',
};
</script>
We now want to import a child component (that lives at @/components/title-component
)
and render it inside MainComponent
. What code would accomplish this?