Template
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F22Ms5Cxam5UHyxaCrtZzu
8 lines
386 B
TypeScript
8 lines
386 B
TypeScript
import { createShopifyRouteTemplates } from "@shopify/hydrogen";
|
|
|
|
// Canonicalize Shopify's collection-scoped product route to the product page this example handles.
|
|
// Add entries here if this example changes to custom product, collection, page, blog, or article paths.
|
|
export const routeTemplates = createShopifyRouteTemplates({
|
|
productInCollection: "/products/:productHandle",
|
|
});
|