We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2aa16f2 + f4bf892 commit 6cf7246Copy full SHA for 6cf7246
pages/index.vue
@@ -1,15 +1,5 @@
1
<template>
2
<div>
3
<IndexHero />
4
- <div v-if="data.products">
5
- <ProductsShowAll :products="data.products.nodes" />
6
- </div>
7
</div>
8
</template>
9
-
10
-<script setup>
11
-import FETCH_ALL_PRODUCTS_QUERY from "@/apollo/queries/FETCH_ALL_PRODUCTS_QUERY.gql";
12
13
-const variables = { limit: 5 };
14
-const { data } = await useAsyncQuery(FETCH_ALL_PRODUCTS_QUERY, variables);
15
-</script>
0 commit comments