quickerp
v1.0.1
Published
A modern React component library
Maintainers
Readme
My React Library 📦
A modern React 19 component library built with Vite + TypeScript.
🚀 How to Run (Two Terminals)
Terminal 1: Library Compiler
npm run build:watchWatches lib/ and rebuilds on every change.
Terminal 2: Example App
cd example && npm install && npm run devOpens at http://localhost:3001
🔄 Workflow
- Edit files in
lib/(e.g., Button.tsx) - Terminal 1 auto-rebuilds
- Refresh browser at localhost:3001
📁 Structure
├── lib/ # Your library code
├── example/ # Test app
├── dist/ # Built output
└── package.json📦 For Users
import { Button, Card } from 'your-library-name';
import 'your-library-name/styles';
<Button variant="primary">Click Me</Button>Scripts
| Command | Description |
|---------|-------------|
| npm run build | Build library |
| npm run build:watch | Watch mode |
| npm run lint | ESLint |
