This project is initialy build with nvm version 18.12.1
To start Storybook, run the following command: npm run storybook
Creating a New Component
- Using CLI: Execute the command: npx generate-react-cli component Card. Note: This will create a SCSS file named Card.module.scss. Please rename it to Card.scss by removing the ".module".
- Manual Method: Copy the entire folder of an existing component and rename it as needed.
- Always add the new component to the index.js
SCSS files must not have ".module" in their names. Storybook does not load these files correctly if ".module" is included.