brd-react-components
v0.0.3
Published
Boardriders React Components
Readme
brd-react-components
Boardriders React Components
Development
- Install dependencies:
vp install- Run the unit tests:
vp test- Build the library (
vp packplus Tailwind compile ofdist/app.css):
pnpm run buildFor local development you can watch JS and CSS in two terminals:
pnpm run dev
pnpm run dev:cssConsumption
Import the compiled stylesheet once in your app (Tailwind is not required in the host project):
import "brd-react-components/app.css"Then import components, for example:
import { Button } from "brd-react-components"
export function Example() {
return <Button type="button">OK</Button>
}Install peer dependencies listed in package.json (react, Radix, etc.).
