How to use Chii and chobitsu together to embed devtools for a separate iframe. #67
ChristopherHButler
started this conversation in
General
Replies: 2 comments
-
We do that on RTCode.io |
Beta Was this translation helpful? Give feedback.
0 replies
-
I got it working now. Just had to take a look at the example in the docs, fairly straight forward :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I stumbled across this project while trying to understand how codesandbox are able to embed chrome devtools in their app and use them for another app running in an iframe. You can see it here or open any new react sandbox in the chrome browser. I noticed at some point they load chobitsu so I googled what it is and found my way here.
I am building an app, cdbx.io. It's still very early in development but if you go there and click 'just code' you and choose react it will open an editor with the app running in an iframe. I want to be able to open devtools for that iframe in the panel below. Could someone point me in the right direction of how to do that? I am assuming there are some events I need to send from the preview iframe to the devtools iframe but I'm not really sure where to start. Any help is greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions