From 2dcfd0b2479f131166bc9427eae8b52c89a801b3 Mon Sep 17 00:00:00 2001 From: caboe Date: Sun, 1 May 2022 17:54:27 +0200 Subject: [PATCH 1/2] add import for GFetch --- docs/src/docs.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/docs.md b/docs/src/docs.md index d9f5702..5c763c4 100644 --- a/docs/src/docs.md +++ b/docs/src/docs.md @@ -11,6 +11,7 @@ npm install --save @leveluptuts/g-query graphql-tag ### 1. Initialize G ```javascript +import { GFetch } from '@leveluptuts/g-query' // src/lib/config/g.ts export const g = new GFetch({ From e681f164bce7bc59be033e7e31c3372e8395eb5b Mon Sep 17 00:00:00 2001 From: caboe Date: Sun, 1 May 2022 17:55:53 +0200 Subject: [PATCH 2/2] add missing comma --- docs/src/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/docs.md b/docs/src/docs.md index 5c763c4..ed844a9 100644 --- a/docs/src/docs.md +++ b/docs/src/docs.md @@ -37,7 +37,7 @@ vite: { // schema: 'http://localhost:3001/graphql' // this can also be a url to a graphql api schema: './src/lib/graphql/schema.graphql', // path to schema, schema is required out: './src/lib/graphql', // Where you want the general schema types to output - gPath: '$lib/config/g' // Path to g, created in step 1. + gPath: '$lib/config/g', // Path to g, created in step 1. // Optional debug: false // boolean, this adds logging for gq files deleted and on codegen })