@img-arena/dde-ui-components
v0.0.8
Published
UI components used across the DDE UI
Downloads
18
Readme
📺 DDE UI Compomnents
Legacy component libraries migrated from img-gaming.
Installation
npm i @img-arena/dde-ui-components
Contributing
npm i
Then run the storybook development environment:
npm run storybook:start
Make sure to have the CSS framework development server running
Testing with DDE-UI
To test how the components you are developing behave when integrated with the DDE-UI there a few setup steps that must be carried out, the order must be followed:
CURRENT STEPS WHILST PACKAGE IS NOT PUBLISHED
- From within your local clone of the dde-ui repository run:
yarn add ../dde-ui-components
° - From within your local clone of the dde-ui-components repository (this repo) run:
yarn link
- From within your local clone of the dde-ui repository run:
yarn link "@img-arena/dde-ui-components"
- From within your local clone of the dde-ui-components repository (this repo) run:
npm run start:dev
This will result in any changes you make to source code in this repository being compiled and then being displaying within the DDE-UI application.
THE USE OF YARN IS REQUIRED DUE TO DDE-UI INSTALLATION QUIRK
° This file path must of course match whereever you have two repositories cloned