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