Research: Storybook and Compony
This is a spinoff of #7 as Storybook seems like a very likely candidate to be integrated with Compony.
The idea was first brought to our attention by @dan2k3k4 in #7 (comment 241108434):
With some added tutorial found by @thamas:
Just found this Drupal + Storybook intro which is good I think: https://medium.com/@askibinski/integrating-storybook-with-drupal-ddabfc6c2f9d
Specifically on integrating Storybook with Gulp, @fafnirical mentioned that we should be able to use https://github.com/storybookjs/storybook/blob/next/app/html/standalone.js, for example:
const storybook = require('@storybook/html/standalone');
gulp.task('buildStorybook', () => {
return storybook({
mode: 'static',
});
});
gulp.task('serveStorybook', () => {
return storybook({
mode: 'dev',
port: 8000,
});
});
So the next step is to see some demo working within a Compony-based setup!
Edited by Mathieu Spillebeen