Stories not working, even after JSON file generating

Created on 24 June 2024, 6 months ago
Updated 26 June 2024, 6 months ago

I have a Drupal 10 project with Lando.

I have added side-by-side component in my project following this example, but it is not working, there is no Side By Side story.

I run npm run storybook not lando npm run storybook

Code of generated JSON file

{
  "title": "Side By Side",
  "parameters": {
    "server": {
      "url": "http://default/storybook/stories/render"
    }
  },
  "stories": [
    {
      "name": "1. Default",
      "args": {
        "heading_level": 3,
        "image_alt": "Alternative text for a random image."
      },
      "parameters": {
        "server": {
          "id": "eyJwYXRoIjoidGhlbWVzXC9jdXN0b21cL3RhaWx3aW5kX3RoZW1lXC9jb21wb25lbnRzXC9zaWRlLWJ5LXNpZGVcL3NpZGUtYnktc2lkZS5zdG9yaWVzLnR3aWciLCJpZCI6ImRlZmF1bHQifQ%3D%3D"
        }
      }
    }
  ]
}

Screenshot of StoryBook directories

Screenshot of component directory

Screenshot of my StoryBook page

Screenshot of the lando.yml file

Screenshot of result 'npm run storybook' command

Screenshot of result 'lando npm run storybook' command

💬 Support request
Status

Closed: works as designed

Version

1.0

Component

Storybook

Created by

🇦🇲Armenia sergey_gabrielyan Yerevan 🇦🇲

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024