-
Clone or download this repository.
git clone https://github.com/pacosegovia/cra-storybook.git
-
Install dependencies.
yarn
-
Run the app in the development mode.
It will open a browser tab with the dev urlhttp://localhost:3000/
.yarn start
-
Run the Storybook.
It will open a browser tab with the dev urlhttp://localhost:6006/
.yarn storybook
-
Test the App.
yarn test
-
Build the App for production to the
build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.yarn build
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
- Add Radix Design System
- Create Design Tokens from Figma file
- Deployment of the Storybook
- Create a complex component
- Create a component with React Hooks