vue child component
<template>
<Component-a></Component-a>
</template>
<script>
import ComponentA from './ComponentA.vue'
export default {
components: {
ComponentA
}
// ...,
}
</script>
<!-- Another way -->
<template>
<!-- For client side rendering -->
<client-only>
<Component-a></Component-a>
</client-only>
</template>
<script>
export default {
components: {
// Dynamic import for client side rendering (you can use normaly also)
ComponentA: () => import('./ComponentA.vue')
}
}
</script>