Let's explore some more Nx plugins by generating and running a storybook configuration for our shared store header.
- Explore other Nx plugins to create a storybook configuration
App Screenshot
No change in how the app looks!yarn add @nrwl/storybook
ornpm i -S @nrwl/storybook
-
Use the
@nrwl/react:storybook-configuration
generator to generate a storybook configuration for thestore-ui-shared
project⚠️ Answer YES to all questions
-
Serve storybook!
🐳 Hint
nx storybook store-ui-shared
-
Start typing in different titles and see how they appear in the header
- Inspect what changed from the last time you committed, then commit your changes
🎓 If you get stuck, check out the solution