lunchboxjs icon indicating copy to clipboard operation
lunchboxjs copied to clipboard

Use histoire for demos

Open alvarosabu opened this issue 2 years ago • 2 comments

Hi there, another fresh idea, we could use https://histoire.dev/ for the examples instead of a local vite server. ;)

R3F does the same with Storybook. I think is a brilliant idea because It comes with a nice interface to embed and organize all the examples and can be deployed as a static page.

If you are interested I can create the PR

alvarosabu avatar Oct 31 '22 09:10 alvarosabu

Good idea, love this thought! Does it still support local-only dev? That's my main concern as far as demos - I want it to be as easy to start up and work with a new demo locally as possible, so if that could happen (and if npm run demo:create still works to create and scaffold a new demo) that'd be ideal. Would definitely love to take a look at a PR for this, thanks!

SaFrMo avatar Oct 31 '22 14:10 SaFrMo

Yes, you can start it locally, I will create a branch so you can take a look ;)

alvarosabu avatar Oct 31 '22 15:10 alvarosabu

(wontfix, new version - thanks though!)

SaFrMo avatar Jun 08 '24 20:06 SaFrMo