Skip to content

Plugin doesn't work with Storybook 7 #55

@steveworkman

Description

@steveworkman

Following the instructions in the readme, I can't get the plugin to register.

Using:

module.exports = {
    addons: [
        "storybook-addon-preview/register"
    ],
};

The whole storybook fails to load and fails when the plugin tries to .default.getConfig()

When using the ESM version:

module.exports = {
    addons: [
        "storybook-addon-preview/esm/register"
    ],
};

The plugin seems to load, but the panels are never loaded even with a single component and the code in the example, the panel does not load.

We're using storybook 7.6.12 for all code and addons. From some investigation it looks like some storybook 6 dependencies are being loaded. I don't know if this is the cause but it's not working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions