@qite/website-component-library
v0.0.9
Published
This project is initialy build with nvm version 18.12.1
Downloads
5
Readme
Storybook
Node
This project is initialy build with nvm version 18.12.1
Starting Storybook
To start Storybook, run the following command: npm run storybook
Components
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
Conventions
SCSS files must not have ".module" in their names. Storybook does not load these files correctly if ".module" is included.