generated from pascalmartineau/wp-skeleton
fix: GraphQL breadcrumbs and address
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
<script setup lang="ts">
|
||||
const { node, component } = await useNodeByUri();
|
||||
const { node, component, breadcrumbs } = await useNodeByUri();
|
||||
useSeoMeta({ title: node?.title });
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component :is="component" :node="node" />
|
||||
<div>
|
||||
<div class="">
|
||||
<pre>{{ breadcrumbs }}</pre>
|
||||
<UBreadcrumb :items="breadcrumbs" />
|
||||
</div>
|
||||
<component :is="component" :node="node" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user