Fix product paths

This commit is contained in:
Luis Alvarez
2020-10-22 21:38:03 -05:00
parent de80a9edd1
commit 4d9b9f77b2
3 changed files with 17 additions and 5 deletions

View File

@@ -27,6 +27,7 @@ export async function getStaticPaths() {
return {
paths: products.map((product) => `/product${product.node.path}`),
// If your store has tons of products, enable fallback mode to improve build times!
fallback: false,
}
}