sample-ui-component-library
v0.0.3-beta
Published
A library which contains sample UI elements that can be used for populating layouts.
Readme
sample-ui-component-library
A library with sample components that can be used to develop the layout.
Link to storybook.
Developing
Install Libraries:
npm iRun Storybook:
npm run storybookBuild Storybook:
npm run build-storybookBuild the library:
npm run buildDeveloping Locally Using Storybook
The configuration needed for developing the application locally using storybook has already been added. Run npm run storybook to start the server and update the relevant components and stories to see the changes in the UI.
Developing Locally Using npm link
To test the library locally by importing it into another react application, use the following steps:
- run
npm linkin the component library folder. - run
npm link ui-layout-managerin the local application which will import the library - You should now be able to import the component into the local application
- run
npm run buildin the component library to push the changes to the local application
