https://github.com/aditya-sridhar/simple-reactjs-app.git How do I add this straightforward React application as is to Plasmic?And after making some adjustments to it using plasmic builder ui, can we export this application from Plasmic as a standalone react/next application?
Hi @calm_heron, while you can publish new pages into your app and also drag and drop react components from your app, plasmic isn’t for editing arbitrary existing code, if that’s what you’re looking for.
Is a demo available somewhere?
I tried it, however when I export the project to github and then run it on localhost, I am unable to see my React code or code components.
By demo app you mean something like our website? Or todomvc?
If you want to see the React code, did you choose codegen? https://docs.plasmic.app/learn/loader-vs-codegen/
(You can also run create-plasmic-app if you want to experiment faster with this than via github)
I presently have react code for static sites that I’d like to import into Plasmic and modify (create buttons, links, add new pages, add a back-end). Is there a way to accomplish this and still obtain the react code after making all of the changes using Plasmic studio? And I am unable to edit pages when I add react code to plasmic is there any way to add className to full page that we can make changes into plasmic
Hi, no, plasmic isn’t for editing arbitrary existing code, only for creating new pages / components within your existing app and using your existing code as building blocks
What do you mean when you say you’re unable to edit pages when you add react code to plasmic? Do you mean you have set up application hosting, called registercomponent, and something is not working? What isn’t working / what is the issue you are seeing?
I’m attempting to import all these pages into Plasmic. I can’t edit page content like image text. To edit components, we have to pass className over there, right? Is it possible to dynamically insert className into every page component?
Hi @calm_heron, while you can publish new pages into your app and also drag and drop react components from your app, plasmic isn’t for editing arbitrary existing code, if that’s what you’re looking for.