wingsuit icon indicating copy to clipboard operation
wingsuit copied to clipboard

Adding storybook to an existing theme

Open lukewhitmore opened this issue 1 year ago • 2 comments

Hi

The kick starter project looks great, wondering what the best way to add storybook to an existing theme is?

Ideally I'd like to use drupal/ui_patterns together with storybook. Is this possible?

lukewhitmore avatar Dec 31 '22 15:12 lukewhitmore

Also curious about this. Any progress?

tyler36 avatar Apr 14 '23 07:04 tyler36

Hi, The easist way is to install wingsuit standalone (in your drupal root directory) and configure the dist folder to folder inside your theme. Afterwards configure your libraries to match the twig folders inside the dist folder and use wingsuit companion to find the ui patterns cofiguration.

christianwiedemann avatar Apr 17 '23 21:04 christianwiedemann