wingsuit-designsystem / wingsuit

Twig for Storybook
GNU General Public License v2.0
90 stars 16 forks source link

Adding storybook to an existing theme #223

Open lukewhitmore opened 1 year ago

lukewhitmore commented 1 year ago

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?

tyler36 commented 1 year ago

Also curious about this. Any progress?

christianwiedemann commented 1 year ago

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.