This repository provides a template for creating a React component library using Rollup, TypeScript, Less, and Storybook. It allows you to easily build, document, and showcase your components.
- Rollup: Efficiently bundle your components for easy distribution.
- TypeScript: Develop with type safety and modern JavaScript features.
- Less: Utilize Less for styling your components.
- Storybook: Document and visualize your components in an isolated environment.
-
Ensure you have Node.js installed on your machine.
-
You can have Yarn package manager installed. If you haven't installed it yet, you can do so using npm:
npm install --global yarn
-
Clone the repository:
git clone https://github.com/jobsofferings/basic-components.git cd basic-components -
Install the dependencies:
yarn
To start Storybook and view your components:
yarn sbAfter running the command, you can access Storybook at http://localhost:6006/.