App.vue
<template>
<br-page :configuration="configuration" :mapping="mapping">
<main>
<br-component component="main" />
</main>
</br-page>
</template>
<script setup lang="ts">
import axios from 'axios'
import Content from './components/Content.vue'
const configuration = {
path: `${window.location.pathname}${window.location.search}`,
endpoint: "https://developers.bloomreach.io/delivery/site/v1/channels/test-exe/pages"
httpClient: axios
}
const mapping = { Content }
</script>
Content.vue
<template>
<div>
<div>Test: {{ component.getName() }}</div>
</div>
</template>
<script setup lang="ts">
import type { Component } from '@bloomreach/spa-sdk';
import { toRefs } from 'vue';
const props = defineProps<{ component: Component }>();
const { component } = toRefs(props);
</script>
and on the page, I only see => "
Component “ContentPage” is not defined."
What is the problem, what do I wrong