Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shubhadip/react-vite-component-library

Template to create component library with ReactJs, Typescript, Tailwind, Vite, Playwright, Storybook.
https://github.com/shubhadip/react-vite-component-library

commitlint component-library javascript library postcss reactjs semantic-release storybook tailwind tailwindcss template typescript vite vitejs

Last synced: about 1 month ago
JSON representation

Template to create component library with ReactJs, Typescript, Tailwind, Vite, Playwright, Storybook.

Awesome Lists containing this project

README

        

# This is a template to create React Components Library

**Technology Used:**\
React\
Typescript\
Vite\
Tailwind\
Playwright\
StoryBook 7

## Project setup

Please follow below mentioned step to run this project:

- Clone the repo

```shell
https://github.com/shubhadip/react-vite-component-library
```

### Install

```
npm install
```

### storybook Development

```
npm run storybook
```

### Build Library

```
npm run build
```

### Run Playwright Tests

```
npm run test
```

## Usage Of Components

import { AppButton } from 'react-vite-component-library/appbutton'

...

...

## Usage Of Utilities & Types

...
import { ButtonThemes } from 'react-vite-component-library'
...

## Usage Of Exported tailwind-base.config.js

exported tailwind config can be used via tailwind [preset](https://tailwindcss.com/docs/presets)