generate-pattern
v1.20.0
Published
This is a CLI tool used to generate example code from pre-existing Vite templates from a monorepo to demonstrate how to use `@carbon/react` and `@tanstack/table` together. You can choose to either generate a full Vite application or to generate an inline
Downloads
1,478
Readme
Carbon @tanstack/table
generator
This is a CLI tool used to generate example code from pre-existing Vite templates from a monorepo to demonstrate how to use @carbon/react
and @tanstack/table
together. You can choose to either generate a full Vite application or to generate an inline example within an existing application.
However, this package could be used more generically to scaffold example code.
Usage
npx generate-pattern
- Select a pattern
- Choose if you want the pattern's dependencies installed
- Choose an install path (default is current directory)
- Select pattern type
- Full example app
- Integrate within an existing app, ie inline