Moved to https://github.com/reef-chain/ui-kit
Project includes Example view with all components and their usage. It also serves as an isolated development environment.
yarn
yarn dev
yarn build
yarn showcase
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.
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:
- Go to project's React package
cd node_modules/react
- Create a link
yarn link
- Go to project's UI Kit package
cd node_modules/@reef-defi/ui-kit
- Link React
yarn link react
These steps might need to be repeated upon managing packages. The issue occurs only in development.