I created a new Plasmic project in my playground.
Setup the HelloWorld Code Component in my project, the one taken from the next.js quick start.
It’s a Remix app runnin in codesandbox.io.
New Remix App into the “Configure project” modal.
Now anytime I click on anything on the page in the plasmic studio I get this error popup:
“Plasmic cannot determine which layer the the clicked element belongs to. This happens typically on code component where Plasmic doesn’t know the structure of the DOM in the component.”
Can someone help please?
May 16, 2023, 1:00am
Hi, can you share the link to the code sandbox source? When I go to the plasma-host url, I just see a blank page, whereas it is supposed to look something like this.
I fixed the plasmic-host.tsx file I created.
You can try it again.
I’l try to DM you a link to the code sandbox.
May 16, 2023, 11:30pm
It’s specific to CSB! CSB is doing something funky in how it runs apps. (I saw that they also disappear after a couple of seconds.) When I download the code and just run it from localhost (or if you deploy to any hosting provider like Vercel), it’s fine.