Skip to content

Latest commit

 

History

History
executable file
·
39 lines (22 loc) · 1.97 KB

README.md

File metadata and controls

executable file
·
39 lines (22 loc) · 1.97 KB

Install

Install extension from Chrome Web Store (works for Chrome, Brave, Opera and Edge)

Install extension from Firefox Add-ons

Requirements

Extension should work automatically dev mode in all modern stacks (NextJS, Create React App, Vite, etc). They automatically include babel-preset-react which includes babel-plugin-transform-react-jsx-source. Non-babel stacks use similar alternatives. If you don't have babel-plugin-transform-react-jsx-source, you should set it up manually.

Troubleshooting

Broken source info

It doesn't show any "bouding boxes" when holding alt/option and moving mouse on the page. (plus you might see error in extension's Popup)

Broken links

When I click on a component's bounding box, it doesn't go to editor

  • It is possible that your editor doesn't have registered URL handler. Check browser console for errors. If you get something like Failed to launch 'vscode://...24:11' because the scheme does not have a registered handler., try reinstalling your editor.

Run extension locally

run pnpm dev for development. run pnpm build to build the extension.

Contributing

To develop of contribute to this project continue here