4
0
forked from crowetic/commerce

Blocking rendering for products

This commit is contained in:
Belen Curcio 2020-11-26 13:29:49 -03:00
parent 9dbd606eef
commit b48a45bbc1

View File

@ -51,8 +51,7 @@ export async function getStaticPaths({ locales }: GetStaticPathsContext) {
return arr
}, [])
: products.map((product) => `/product${product.node.path}`),
// If your store has tons of products, enable fallback mode to improve build times!
fallback: false,
fallback: 'unstable_blocking',
}
}