Story preview not shown in layout
Amazing project. Thanks. I have a small issue. I made the production variable true to run it in production and in the front end I get the option to turn on the story preview option. But when I create a story, the preview is not shown in the preview section and I get console error that states demoid is missing! How can I solve this?
Hey, can you paste a link here so I can get more context.
Hi Krasimir, thanks for quick reply. Here's a link for you - https://laughing-snyder-45bb09.netlify.app/
I did not change anything in your source code. I just opened the "src/js/constants.js" and made "IS_PROD = true". The problem is, when I create a story, the story preview is not shown and the page shows not found. Please check the video screencast here to better understand my problem - https://youtu.be/wRd5cwdxpfU
Oh I see. Sorry, I see how this is confusing now. The app is designed to work with a backend that is not open source for a couple of reasons. That flag basically controls whether the app uses that backend or not. I have to put some thinking how to make this workable in your setup. At the moment the app works only online here https://poet.krasimir.now.sh/