It seems you can’t manually add storybook to an existing Angular project once it’s inside an Nx monorepo without following the integrated path.
I’ve setup an Nx monorepo using the standalone package configuration, there are several angular libraries which have been generated using the angular cli.
I’ve got to the point where I want to add Storybook to a library and tried to use the standard Storybook approach by calling:
npx storybook@latest init
but this results in the following error:
enter image description here
The problem is I don’t want to follow the integrated route, I would like to keep things separate. What is the best approach of adding storybook in this scenario?
Thanks, any help is appreciated.
user25571914 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.