Skip to content

Commit

Permalink
fix(docs): remove svelte section from ts integrations (#3471)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock authored Dec 22, 2023
1 parent 73628b7 commit ef2b57d
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions docs/basics/typescript-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,26 +80,6 @@ const config: CodegenConfig = {
export default config;
```

#### Svelte project configuration

Create the following `codegen.ts` configuration file:

```ts
const config: CodegenConfig = {
schema: '<YOUR_GRAPHQL_API_URL>',
documents: ['src/**/*.svelte'],
ignoreNoDocuments: true, // for better experience with the watcher
generates: {
'./src/gql/': {
preset: 'client',
plugins: [],
},
},
};

export default config;
```

## Typing queries, mutations and subscriptions

Now that your project is properly configured, let's start codegen in watch mode:
Expand Down

0 comments on commit ef2b57d

Please sign in to comment.