Frontpeek (connector)
The official connector for
|
| Setting | Default | Description |
|---|---|---|
frontPeek.port |
57420 |
Loopback port the bridge listens on. Changing it restarts the bridge automatically — no window reload needed. |
If you change frontPeek.port, pass the same value to the toolbar so it probes the right port:
<FrontPeek bridgePort={57420} />
Both sides must agree on the port — the extension listens on frontPeek.port and the toolbar connects to bridgePort. If they differ, the toolbar's status dot stays gray and the Code button falls back to copying the path to the clipboard.
If the configured port is already in use, the bridge falls back to a random free port. The toolbar only probes the configured port, so open-in-editor won't be detected until the configured port is free. Check FrontPeek: Show Output for the actual port.
That's the whole extension - no webview, no proxy, no source-map resolution. All source resolution now happens in the browser inside the npm package.
Setup
- Install this extension.
- Add the toolbar to your app (React or Next.js):
npm install @fredsvanelli/frontpeekimport { FrontPeek } from '@fredsvanelli/frontpeek'; // … <body> {children} <FrontPeek /> </body> - Run your dev server, open the app, and click Code on any element.
License
MIT