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

To help you get started, we’ve selected a few @storybook/ember 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 / ember-cli / .storybook / config.js View on Github external
import { load, addParameters } from '@storybook/ember';

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

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

@storybook/ember

Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.

MIT
Latest version published 3 days ago

Package Health Score

93 / 100
Full package analysis