Option+Click(Alt+Click) a component in your browser to instantly open the source in VS Code.

Latest Version

Version
0.0.0.1
Update
September 30, 2024
Size
14.88KiB
Developer
zjffun.com
Category
Users
13
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
中文 (简体)
See more
Permissions
See more

Click To Component Extension

1. Option+Click(Alt+Click) a component in your browser to instantly open the source in VS Code.
2. Option+RightClick(Alt+RightClick) opens a context menu with the parent components.
3. Support Vue `data-__source-code-location` (generated by [vue-click-to-component](https://www.npmjs.com/package/vue-click-to-component)).
4. Support React `__source` (generated by [@babel/plugin-transform-react-jsx-source](https://babeljs.io/docs/babel-plugin-transform-react-jsx-source)).

You can config `Site access` to `On Click` or `On specific sites` for this extension to control click-to-component script inject.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "default_locale": "en", "name": "Click To Component", "description": "__MSG_description__", "version": "0.0.0.1", "manifest_version": 3, "action": { "default_icon": { "128": "images/icon128.png" } }, "content_scripts": [ { "matches": [""], "js": ["content_scripts/inject_script.js"], "all_frames": true } ], "permissions": [], "web_accessible_resources": [ { "matches": [""], "resources": ["injected_scripts/click_to_component.js"] } ]}
Read more