Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1 KB

README.md

File metadata and controls

37 lines (24 loc) · 1 KB

Working with UI Toolkit on a package level

To setup linking for local development in Storybook for packages like Core, Staking or any other package, you need to link UI Toolkit with it on a package level. To achieve this follow steps listed below.

[!IMPORTANT] > yalc is a prerequisite for this setup to work. Install it using yarn global add yalc

UI Toolkit repository

  1. Clone code repository

    git clone git@github.com:input-output-hk/lace-ui-toolkit.git
  2. Follow steps described in UI Toolkit's README.md

Lace repository

  1. Go to package directory ex. packages/core and setup linking

    yalc link @input-output-hk/lace-ui-toolkit
  2. Start dev mode (Storybook)

    yarn dev
  3. Once development done remove linking

    yalc remove @input-output-hk/lace-ui-toolkit