I m using the nx Storybo…
I’m using the nx Storybook capabilities. So far I’ve got it working great when running locally. How do I build a static site from the Storybook?
Responses:
you can run this command: yarn build-storybook
thanks Rai – I ended up doing this:
npx build-storybook --config-dir libs/design-system/.storybook
It was picking up the root-level storybook config and failing. Pointing build-storybook
to the project-level config made it work as expected.
you should run ng run design-system:build-storybook
given you are using the nx storybook schematics