Mechanical Keyboard
Product ID: 99
Dynamic breadcrumb from load data
The label is pulled from page.data populated by the layout's load function.
<script module lang="ts">
export const breadcrumb: BreadcrumbMeta = async (page) => ({
label: page.data.product.name
});
</script>