Replies: 1 comment
-
I've look at the generator code, and it seems to be only looking at the Is there any chance we can add a custom directory in the generator command? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am not sure if it's an issue or not, so I decided to write here instead. We have a nx monorepo setup where we have an app called
web
, it's a react-vite app. We decided to add storybook to document and test our components (ShadCN & custom), the components are insideapps/web/components
. When we try to generate stories via@nx/react:stories --project=web
, nothing is generated. Also, when we added the configuration vianx g @nx/storybook:configuration project-name
which suppose to already generate the stories, but it did not.So I am not sure if the plugin is meant to be working outside
libs
, I am seeing quite a number of examples where the components are insidelibs
, so I am wondering if our current structure is okay or not.Thanks
Beta Was this translation helpful? Give feedback.
All reactions