How to use the @storybook/polymer.load function in @storybook/polymer

To help you get started, we’ve selected a few @storybook/polymer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github storybookjs / storybook / examples / polymer-cli / .storybook / config.js View on Github external
import { load, addParameters } from '@storybook/polymer';

addParameters({
  options: {
    hierarchyRootSeparator: /\|/,
  },
});

// FIXME require('../src/stories/index.stories');
load(require.context('../src/stories', true, /\.stories\.js$/), module);

@storybook/polymer

Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.

MIT
Latest version published 4 years ago

Package Health Score

67 / 100
Full package analysis