You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kubsu-platform-crud-2023/docs/frontend/01_NX_COMANDS.md

734 B

Nx Commands

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

nx g @nrwl/react:lib ui

This command will configure library to be a Storybook library

nx g @nrwl/react:storybook-configuration --name=ui

This command will generate a new React Story in selected library (component)

nx g @nrwl/react:stories --project=ui

This command will build Storybook

nx run ui:build-storybook

This command will run Styorybook

nx run ui:storybook

This command will generate Storybook Stories

nx g @nrwl/react:component button --project=ui --export