@reef-defi/ui-kit
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Reef UI Kit

Reef's UI library of components, assets and helpers

Project includes Example view with all components and their usage. It also serves as an isolated development environment.

Setup

yarn

Development

yarn dev

Build

yarn build

Build showcase page

yarn showcase

Versioning

Push to master will trigger deploy as well as publish to npm registry. A new tag will be created with the version. See here for special commit messages that trigger version changes.

Known issues

Multiple copies of React

While UI Kit has it's own development environment, it can also be used as a local dependency while developing other projects. This situation may result in errors due to UI Kit having it's own copy of React.

To solve this issue:

  1. Go to project's React package
cd node_modules/react
  1. Create a link
yarn link
  1. Go to project's UI Kit package
cd node_modules/@reef-defi/ui-kit
  1. Link React
yarn link react

These steps might need to be repeated upon managing packages. The issue occurs only in development.

Readme

Keywords

none

Package Sidebar

Install

npm i @reef-defi/ui-kit

Weekly Downloads

0

Version

1.1.0

License

none

Unpacked Size

1.38 MB

Total Files

280

Last publish

Collaborators

  • matjazonline
  • frenki
  • jbargu_reef