emory-background

Storybook

Developer Notes

  • Aside from this component library, the UI library is available via Storybook.
  • UI library in Storybook is separate from the Sitecore instance, it has no business logic and interactive states.
  • This UI library is geared towards developers and designers.

How to run Storybook locally

  • Open theme directory at \Source\EH\Sitecore\src\Project\Emory\theme. \Source\EH\Sitecore might be different, it depends on where Sitecore is installed locally.
  • From theme root directory, run npm install
  • Once installed, run npm run storybook
  • Storybook will be available on your localhost, typically at http://localhost:6006/

Content Author Notes

Requirements

Storybook:

  • See Dev Notes