[FEATURE-REQUEST] A static solution
conradkirschner opened this issue · comments
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?
Interesting idea and something we can look into.
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?
That could work for the default state of components stories, but the "controls" panel wouldn't work.
generate the storybook_preview urls data to
- Mock Service Worker https://storybook.js.org/addons/msw-storybook-addon/
or - Storybook Addon Mock https://storybook.js.org/addons/storybook-addon-mock/