{"id":13417480,"url":"https://github.com/ArnaudBarre/vite-plugin-react-click-to-component","last_synced_at":"2025-03-15T02:31:26.116Z","repository":{"id":62075133,"uuid":"556515097","full_name":"ArnaudBarre/vite-plugin-react-click-to-component","owner":"ArnaudBarre","description":"Option+Click React components in your browser to open the source in your editor","archived":false,"fork":false,"pushed_at":"2023-11-28T17:37:23.000Z","size":263,"stargazers_count":42,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-20T01:18:25.658Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ArnaudBarre.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-10-24T01:59:33.000Z","updated_at":"2024-10-19T00:48:31.000Z","dependencies_parsed_at":"2023-11-28T18:31:06.516Z","dependency_job_id":"63dc8697-a827-44b3-a0de-33b10d0b84e4","html_url":"https://github.com/ArnaudBarre/vite-plugin-react-click-to-component","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"9ba7932d70c1c0902b74455226692d67fffe4e6f"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudBarre%2Fvite-plugin-react-click-to-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudBarre%2Fvite-plugin-react-click-to-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudBarre%2Fvite-plugin-react-click-to-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ArnaudBarre%2Fvite-plugin-react-click-to-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ArnaudBarre","download_url":"https://codeload.github.com/ArnaudBarre/vite-plugin-react-click-to-component/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243674860,"owners_count":20329175,"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:37.932Z","updated_at":"2025-03-15T02:31:25.748Z","avatar_url":"https://github.com/ArnaudBarre.png","language":"TypeScript","funding_links":[],"categories":["Plugins"],"sub_categories":["React"],"readme":"# vite-plugin-react-click-to-component [![npm](https://img.shields.io/npm/v/vite-plugin-react-click-to-component)](https://www.npmjs.com/package/vite-plugin-react-click-to-component)\n\nOption+Right Click in your browser to open the source in your editor.\n\n![demo](https://media.webtoo.ls/media_attachments/files/109/913/790/489/646/235/original/58f3d38bb221f42e.jpg)\n\n## Installation\n\n```sh\nnpm i -D vite-plugin-react-click-to-component\n```\n\nIn your Vite config:\n\n```ts\nimport { defineConfig } from \"vite\";\nimport react from \"@vitejs/plugin-react-swc\"; // or @vitejs/plugin-react\nimport { reactClickToComponent } from \"vite-plugin-react-click-to-component\";\n\nexport default defineConfig({\n  plugins: [react(), reactClickToComponent()],\n});\n```\n\n## Inspiration\n\nThis plugin is a light version of [ericclemmons/click-to-component](https://github.com/ericclemmons/click-to-component) that uses Vite's launch editor middleware to open the source code in your currently running editor. This also benefits from Vite's transformIndexHtml hook so that you don't need to modify your source code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FArnaudBarre%2Fvite-plugin-react-click-to-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FArnaudBarre%2Fvite-plugin-react-click-to-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FArnaudBarre%2Fvite-plugin-react-click-to-component/lists"}