forked from crowetic/commerce
Blocking rendering for products
This commit is contained in:
parent
9dbd606eef
commit
b48a45bbc1
@ -51,8 +51,7 @@ export async function getStaticPaths({ locales }: GetStaticPathsContext) {
|
|||||||
return arr
|
return arr
|
||||||
}, [])
|
}, [])
|
||||||
: products.map((product) => `/product${product.node.path}`),
|
: products.map((product) => `/product${product.node.path}`),
|
||||||
// If your store has tons of products, enable fallback mode to improve build times!
|
fallback: 'unstable_blocking',
|
||||||
fallback: false,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user