@tdle/alpha-ui
v0.1.5
Published
This folder contains a standalone React + TypeScript Storybook setup that mirrors the structure used in this repository's Vue components.
Downloads
78
Readme
React Storybook (Vue-structure mirror)
This folder contains a standalone React + TypeScript Storybook setup that mirrors the structure used in this repository's Vue components.
Mirrored structure
src/components/<Name>/<Name>.tsxsrc/components/<Name>/<Name>.types.tssrc/components/<Name>/<Name>.stories.tsxsrc/components/<Name>/<Name>.test.tsxsrc/components/<Name>/index.ts
Commands
npm run storybook— start Storybook on:6007npm run build:docs— build static Storybook intodocs-staticnpm run test— run unit tests (Vitest + Testing Library)npm run typecheck— run TypeScript checksnpm run lint— run ESLint
Notes
- Uses
@alias tosrc(same style as the Vue project). - Uses Tailwind CSS utility classes.
- Includes one example component:
AButton.
