first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# WRNexus UI component showcase
|
||||
|
||||
This example renders every component from `@wrnexus/ui` with representative,
|
||||
prop-driven data. Pages are generated from `packages/ui/component-reference.json`
|
||||
so coverage stays synchronized with the packaged component catalog.
|
||||
|
||||
```bash
|
||||
bun run --cwd examples/component-showcase dev
|
||||
```
|
||||
|
||||
Open `http://localhost:3000`. The index links to the category catalog, and every
|
||||
component card opens a dedicated documentation page with three live use cases,
|
||||
usage examples, its prop API, events, slots, and related navigation.
|
||||
|
||||
After changing UI component props, regenerate and verify the catalog:
|
||||
|
||||
```bash
|
||||
bun run --cwd examples/component-showcase generate
|
||||
bun run --cwd examples/component-showcase check
|
||||
```
|
||||
|
||||
Files under `app/pages/` are generated. Customize the generator or stylesheet
|
||||
instead of editing those pages directly.
|
||||
Reference in New Issue
Block a user