Minimal list/detail views working with Vendure

This commit is contained in:
Michael Bromley
2021-01-22 20:26:50 +01:00
parent 8fb6c7b206
commit d199e3ef32
78 changed files with 13619 additions and 5 deletions

View File

@@ -21,15 +21,15 @@ export async function getStaticProps({
preview,
})
const { categories, brands } = await getSiteInfo({ config, preview })
const { pages } = await getAllPages({ config, preview })
// const { categories, brands } = await getSiteInfo({ config, preview })
// const { pages } = await getAllPages({ config, preview })
return {
props: {
products,
categories,
brands,
pages,
categories: [],
brands: [],
pages: [],
},
revalidate: 14400,
}