Storybook
This page discusses some tips for using storybook to test new components.
Installation
Install the package from the root directory.
bash
npx storybook@latest initCreating a story file
Create a file such as hpo-annotation-polisher.stories.ts in the same directory as the component (in this case, hpo-annotation-polisher.component.ts). You can view the example there to get started.
Launch the development server
First build
bash
npx ng build ng-hpo-uikit --configuration productionand then run
bash
npx ng run ng-hpo-uikit:storybookExit server
It may be necessary to kill server processes (all related to node).
bash
killall node 2>/dev/null