Skip to content

Commit 32e0507

Browse files
authored
docs: vanilla typescript guide (#9990)
1 parent c720b1b commit 32e0507

File tree

11 files changed

+260
-3
lines changed

11 files changed

+260
-3
lines changed

website/public/assets/docs/codegen-profile-1.png renamed to website/public/assets/pages/docs/advanced/profiler/codegen-profile-1.png

File renamed without changes.

website/public/assets/docs/codegen-profile-2.png renamed to website/public/assets/pages/docs/advanced/profiler/codegen-profile-2.png

File renamed without changes.

website/public/assets/docs/graphqlsp.png renamed to website/public/assets/pages/docs/guides/react-vue/graphqlsp.png

File renamed without changes.
105 KB
Loading
77 KB
Loading
103 KB
Loading

website/src/pages/docs/advanced/profiler.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ This profile file can be loaded into the Chrome Dev Tools as follows:
2020

2121
3. Load the `codegen-[timestamp].json` file as follows:
2222

23-
![Profiler](/assets/docs/codegen-profile-1.png)
23+
![Profiler](/assets/pages/docs/advanced/profiler/codegen-profile-1.png)
2424

2525
4. You then have access to the graph view:
2626

27-
![Profiler](/assets/docs/codegen-profile-2.png)
27+
![Profiler](/assets/pages/docs/advanced/profiler/codegen-profile-2.png)
2828

2929
The graph view shows the time spent on the main tasks of the codegen.
3030

website/src/pages/docs/getting-started/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ export const resolvers: UsersModule.Resolvers = {
529529

530530
Start by [installing GraphQL Code Generator](/docs/getting-started/installation) in your project or get started with our guides:
531531
- [React and Vue](/docs/guides/react-vue)
532+
- [Vanilla TypeScript](/docs/guides/vanilla-typescript)
532533
- [Angular](/docs/guides/angular)
533534
- [Svelte](/docs/guides/svelte)
534535
- [Apollo and Yoga server](/docs/guides/graphql-server-apollo-yoga)

website/src/pages/docs/guides/_meta.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export default {
22
'react-vue': 'React / Vue',
3+
'vanilla-typescript': 'Vanilla TypeScript',
34
angular: 'Angular',
45
svelte: 'Svelte / Kit',
56
'flutter-freezed': 'Dart/Flutter',

website/src/pages/docs/guides/react-vue.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ To get the best GraphQL development experience, we recommend installing the [Gra
487487
- validation against schema
488488
- quick-info on hover
489489

490-
![GraphQLSP](/assets/docs/graphqlsp.png)
490+
![GraphQLSP](/assets/pages/docs/guides/react-vue/graphqlsp.png)
491491

492492
`GraphQLSP`s a TypeScript LSP plugin for GraphQL, to get it working, we need to add the following to your `tsconfig.json`
493493
after installing the package (`npm i -D @0no-co/graphqlsp`):

0 commit comments

Comments
 (0)