Skip to content

Commit

Permalink
Merge pull request #979 from w3bdesign/974-release-nuxt-3-version
Browse files Browse the repository at this point in the history
974 release nuxt 3 version
  • Loading branch information
w3bdesign authored Jan 28, 2023
2 parents 6cf7246 + a8ca164 commit 7e9785a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
<template>
<div>
<IndexHero />
<div v-if="data.products">
<ProductsShowAll :products="data.products.nodes" />
</div>
</div>
</template>

<script setup>
import FETCH_ALL_PRODUCTS_QUERY from "@/apollo/queries/FETCH_ALL_PRODUCTS_QUERY.gql";
const variables = { limit: 5 };
const { data } = await useAsyncQuery(FETCH_ALL_PRODUCTS_QUERY, variables);
</script>

1 comment on commit 7e9785a

@vercel
Copy link

@vercel vercel bot commented on 7e9785a Jan 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.