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

Feature/demo pages #136

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

matthias
Copy link

Hi,
This PR adds some demo pages for development.
I am sure you have something similar running for your dev environment

This solution checks
const isDev = process.env.ROLLUP_WATCH === 'true';
and runs the demo server just for yarn dev (the --watch option sets ROLLUP_WATCH internally)

The demo pages are just very simple static pages - could be improved - just feedback.
I also had a version using Astro - which turned out to become to complex - and sometimes had conflicts. So I stayed with plain simple static pages - which can easily be understood, and altered by devs.

There is also a simple demo/chatConfig.js for general settings (like ChatID, apiHost)

Let me know if it's useful - then I could add some documentation.

@HenryHengZJ
Copy link
Contributor

Thanks @matthias ! exactly same thought, thats why we have this PR - FlowiseAI/Flowise#1639 to bring embedded into the main repo with an example app as well

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

Successfully merging this pull request may close these issues.

2 participants