Problem with code component registration

I am trying to follow the guide step by step for code component registration But I’m still having trouble understanding stuff I tried researching on the forum and also watching the two youtube videos that I could find but both of them seem to be outdated they were posted two years ago

But anyway I’m trying to create New Plasmic codebase with npx create-plasmic-app@latest for react to best follow the tutorial and get a code component registered on on plasmic studio but According to the documentation I should get a pages/plasmic-host.tsx as one of the files but in my case its not being created I can’t find that file anywhere in the directory. What can I do is there some easier tutorial to follow or something I’m not that much familiar with a react that’s why I’m very interested by plasmic But the documentation is hard to follow due to my lack of proper understanding of react I assume It would have been nice if there was Additional links to documentation for react been added so someone who does not know or is not familiar with react can learn and understand what and how they need to work with that specific part of react

1 Like

I personally have only generated the repo codebase after I’ve already created a Plasmic Studio project (via Publish).

If you’re just missing a pages/plasmic-host.tsx file, perhaps you could just copy one of the example ones? plasmic/examples/contentful/pages/plasmic-host.tsx at master · plasmicapp/plasmic · GitHub