openui icon indicating copy to clipboard operation
openui copied to clipboard

code generated, but is not show in frontend

Open Verfinix opened this issue 10 months ago • 4 comments

Why the screen is not update with generated UI ?

Verfinix avatar Apr 07 '24 10:04 Verfinix

@Verfinix I'm gonna need more information about how you're running the service and what you're seeing. Can you add a screenshot and provide info about how you're running OpenUI?

vanpelt avatar Apr 07 '24 22:04 vanpelt

@Verfinix I'm gonna need more information about how you're running the service and what you're seeing. Can you add a screenshot and provide info about how you're running OpenUI?

it generates codebut doesnt display the preview in the middle panel. Screenshot 2024-04-10 at 3 44 32 PM

amer-spirinova avatar Apr 10 '24 10:04 amer-spirinova

Hey @amer-spirinova are you running the service on localhost / 127.0.0.1? The middle section needs to be able to talk to http://127.0.0.1:7878 by default. If you're running it on a different port / host that won't work. See this comment for info on how to build the service in a way that doesn't require talking to localhost:7878.

vanpelt avatar Apr 12 '24 22:04 vanpelt

Might not be the main case here, but this is an issue I've run into when the output code is targeting a framework of some sort (nuxt3 is an example of this). The renderer does not know what to do about it, so it doesn't show anything.

ornell avatar May 13 '24 10:05 ornell