To setup linking for local development between UI Toolkit and Lace or any other app, you need to link UI Toolkit with it on an app 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
-
Clone code repository
git clone [email protected]:input-output-hk/lace-ui-toolkit.git
-
Follow steps described in UI Toolkit's README.md
-
Go to app directory ex.
apps/browser-extension-wallet
and setup linkingyalc link @input-output-hk/lace-ui-toolkit
-
Start dev mode
yarn dev
-
Once development done remove linking
yalc remove @input-output-hk/lace-ui-toolkit