Closed beingArkReal closed 1 year ago
@beingArkReal Destack is meant to edit the pages in development and deploy them to production where they can't be edited.
There's a showInProduction
prop that can be used to get the destack grapes editor shown in production. That's for demonstration purposes and is not easily extensible. After all, Vercel runs on docker images that have no persistent filesystem. Changes in production would require user authentication and saving the data to the corresponding repository.
@LiveDuo
We forked the package and added content prop to directly load data to grapeJS. Now working as expected thanks for the replay.
@beingArkReal Might be worth if you are making changes to the core logic.
I am not able to write default.json files in production, deployed using vercal. Because of this, I am not able to edit landing pages I've created using this editor.