Skip to content

jobsofferings/basic-components

Repository files navigation

Your Own React Component Library

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.

中文文档

Features

  • 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.

Getting Started

Prerequisites

  • 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

Installation

  1. Clone the repository:

    git clone https://github.com/jobsofferings/basic-components.git
    cd basic-components
  2. Install the dependencies:

    yarn

Running Storybook

To start Storybook and view your components:

yarn sb

After running the command, you can access Storybook at http://localhost:6006/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published