diff --git a/docs/frontend/01_NX_COMANDS.md b/docs/frontend/01_NX_COMANDS.md index 6815434..1d4bdc4 100644 --- a/docs/frontend/01_NX_COMANDS.md +++ b/docs/frontend/01_NX_COMANDS.md @@ -1,5 +1,5 @@ # Nx Commands -### This command will generate a new React project in the libs folder and it will also add all the required script targets in your workspace.json +### This command will generate a new React library (React Component) in the libs folder and it will also add all the required script targets in your project.json ```bash nx g @nrwl/react:lib ui ``` @@ -7,11 +7,15 @@ nx g @nrwl/react:lib ui ```bash nx g @nrwl/react:storybook-configuration --name=ui ``` +### This command will generate a new React Story in selected library (component) +```bash +nx g @nrwl/react:stories --project=ui +``` ### This command will build Storybook ```bash nx run ui:build-storybook ``` -### This command will run Storybook +### This command will run Styorybook ```bash nx run ui:storybook ```