area17 / blast

Storybook for Laravel Blade 🚀
https://dev.to/area17/getting-started-with-blast-storybook-for-laravel-blade-c5c
Apache License 2.0
268 stars 39 forks source link

[FEATURE-REQUEST] A static solution #66

Open conradkirschner opened 1 year ago

conradkirschner commented 1 year ago

I am thinking of a solution that avoids running a separate php server for the components, this could make it possible to serve the storybook on a github page.

Maybe we can just run php in the browser (via a wasm package?)

Or other ideas?

mrtimbrook commented 1 year ago

Interesting idea and something we can look into.

philwolstenholme commented 1 year ago

For now, could you use wget to make a static version of the site (something like this) on a build server that supports PHP, then copy that to Github Pages?

ifox commented 1 year ago

That could work for the default state of components stories, but the "controls" panel wouldn't work.

chrillep commented 1 year ago

generate the storybook_preview urls data to