netzo / fresh-netzo

Full-stack Deno Fresh meta-framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
https://netzo.io
MIT License
51 stars 3 forks source link

[components] add components module for "prompt-code" (openv0) #53

Closed miguelrk closed 9 months ago

miguelrk commented 1 year ago

openv0 is a cool new vercel v0.dev alternative with support for multiple frameworks (next, react, svelte, ...) and component libraries (flowbite, nextui, shadcn-ui, ...). Netzo uses shadcn-ui under for all its components and developers would greatly benefit by having a v0-like module where they can iterate on components using prompts. This module is for developers only (not e.g. admins) therefore it should live under Project > Development > Components and it should allow adding new components and iterating on them, and then going back to previous components and copy-pasting them into the actual code (which now resides locally entirely).

See video demo

image

Here is a simple explanation: image

miguelrk commented 9 months ago

Closing in favor of the CLI --prompt flag for now. This can be revisited later.