{"id":13417271,"url":"https://github.com/mammadataei/vite-plugin-graphiql","last_synced_at":"2025-04-15T16:33:20.910Z","repository":{"id":64366440,"uuid":"574857507","full_name":"mammadataei/vite-plugin-graphiql","owner":"mammadataei","description":"Integrate GraphiQL IDE in your Vite projects","archived":false,"fork":false,"pushed_at":"2024-08-24T01:50:13.000Z","size":150,"stargazers_count":6,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-24T04:19:14.766Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mammadataei.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-06T08:20:21.000Z","updated_at":"2024-01-05T11:41:37.000Z","dependencies_parsed_at":"2023-11-13T05:23:25.868Z","dependency_job_id":"d4bb6245-b456-44bf-b11e-3f18a90df427","html_url":"https://github.com/mammadataei/vite-plugin-graphiql","commit_stats":{"total_commits":19,"total_committers":4,"mean_commits":4.75,"dds":0.631578947368421,"last_synced_commit":"5739f7537963f38913388cea9ddb07b66275ad0d"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mammadataei%2Fvite-plugin-graphiql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mammadataei%2Fvite-plugin-graphiql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mammadataei%2Fvite-plugin-graphiql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mammadataei%2Fvite-plugin-graphiql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mammadataei","download_url":"https://codeload.github.com/mammadataei/vite-plugin-graphiql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249108455,"owners_count":21214002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T22:00:34.774Z","updated_at":"2025-04-15T16:33:20.653Z","avatar_url":"https://github.com/mammadataei.png","language":"TypeScript","readme":"\u003cbr/\u003e\n\n\u003ch1 align='center'\u003eVite + GraphqiQL\u003c/h1\u003e\n\n\u003cp align='center'\u003eIntegrate GraphiQL IDE in your Vite projects\u003c/p\u003e\n\n\u003cbr/\u003e\n\nPlease note that this plugin is only intended to be used in development mode.\n\n## Getting Started\n\nFirst, install the plugin:\n\n```bash\nnpm install --save-dev vite-plugin-graphiql\n\nyarn add --dev vite-plugin-graphiql\n\npnpm add --save-dev vite-plugin-graphiql\n```\n\n[GraphiQL](https://github.com/graphql/graphiql/blob/main/packages/graphiql/README.md#using-as-package)\nrequires [`graphql`](https://github.com/graphql/graphql-js) to be installed in\nyour project; so install that too if you haven't already.\n\nThen, import and add the plugin to your `vite.config.ts` and pass in the\nrequired configuration options:\n\n```ts\nimport { defineConfig } from 'vite'\nimport graphiql from 'vite-plugin-graphiql'\n\nexport default defineConfig({\n  plugins: [\n    graphiql({\n      client: {\n        url: 'https://mygraphqlapi.com/graphql',\n      },\n    }),\n  ],\n})\n```\n\nNow start your dev server and navigate to `http://localhost:5173/__graphiql` to\nsee the GraphiQL IDE.\n\n## Configuration\n\nYou can find the full configuration options [here](src/types.ts).\n\n## Acknowledgments\n\nInspired by\n[@unocss/inspector](https://github.com/unocss/unocss/tree/main/packages/inspector)\n\n## License\n\nLicensed under the [MIT License](LICENSE).\n","funding_links":[],"categories":["Plugins","TypeScript"],"sub_categories":["Framework-agnostic Plugins"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmammadataei%2Fvite-plugin-graphiql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmammadataei%2Fvite-plugin-graphiql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmammadataei%2Fvite-plugin-graphiql/lists"}