Skip to content

Latest commit

 

History

History

ui

UI

This is an internal package that contains the shared UI components for all the applications in this repository.

Note

This package, as-is, is not meant to be published to npm. It is meant to be used as a shared codebase for all the applications in this repository. To publish this, we would need to add a build step and publish the build output to npm similar to any other package. We intentionally do not have a build step for this package, as it is meant to be imported directly from the source code.

If you are looking to publish this package to npm, please reach out to the maintainers and refer to this guide

Usage

To use this package in your application, you can import the components directly from the source code.

import CLI from '@dicedb/ui/CLI';
{
    /* package.json */
    "dependencies": {
        "@dicedb/ui": "workspace:*"
    }
}

Adding a new component

cd ./packages/ui
pnpm generate:component