Skip to content

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

Notifications You must be signed in to change notification settings

shubhadip/react-vite-component-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

138 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •