After implementing the <inertia-link>
, I noticed that the child component test.vue
is not rendering. It only displays when I remove those tags. Any suggestions on what might be causing this issue?
test.vue
<template>
<div>
<div class="p-6 sm:px-20 bg-white border-b border-gray-200">
<div>
<b-logo class="block h-12 w-auto" />
</div>
<div class="mt-1 text-2xl">
{{ $page.user.first_name }} {{ $page.user.last_name }}
</div>
<inertia-link :href="#">
test-link
</inertia-link>
</div>
</div>
</template>
<script>
import BLogo from './BLogo'
export default {
components: {
BLogo,
},
}
</script>
The inclusion of this component in another .vue file is through <my-test />
This scenario exists within laravel 8. Additionally, it was observed that using the <inertia-link>
tag in the parent vue results in its display. Hence, the tag functionality seems to be working.
(It appears to be utilized by the default Jetstream profile pages).