Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Story preview not shown in layout #11

Open
learnwithsumit opened this issue Mar 22, 2021 · 3 comments
Open

Story preview not shown in layout #11

learnwithsumit opened this issue Mar 22, 2021 · 3 comments

Comments

@learnwithsumit
Copy link

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?

@krasimir
Copy link
Owner

Hey, can you paste a link here so I can get more context.

@learnwithsumit
Copy link
Author

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

@krasimir
Copy link
Owner

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants