Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add vite-specific oddity #342

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions website/get-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ language server. This is the main configuration for both the TypeScript plugin a
Setting up `gql.tada/ts-plugin` will start up a [“TypeScript Language Service Plugin”](https://github.com/microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin#whats-a-language-service-plugin) when TypeScript is analyzing a file in our IDE or editor. This provides editor hints, such as diagnostics,
auto-completions, and type hovers for GraphQL.

> [!NOTE] Vite Setup
> If you are working in a Vite project, it is also necessary to add the Typescript plugin to the `tsconfig.app.json` file.
> Otherwise you won't get any type hints while writing queries.

> [!NOTE] VSCode Setup
> There may be extra steps you should take when you're using VSCode.
> [Read about these steps in the "VSCode Setup" section below.](#vscode-settings-and-plugins)
Expand Down