Mechanical Keyboard

Product ID: 99

Edit this product

Dynamic breadcrumb from load data

The label reads 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>