Make the Storybook work independent from Drupal

Created on 18 May 2023, over 1 year ago
Updated 4 June 2023, over 1 year ago

Problem/Motivation

According to the docs we have to add the Drupal URL for the server to make the cl_server work.

This makes the process somehow difficult for the frontend because they have to run Drupal to get things work. Running Drupal mean having at least a local VM (because most frontend developers are using Windows) etc.

// .storybook/preview.js
export const parameters = {
  ...
  server: {
    url: "http://my-drupal-domain.loc",
  },
  ...
};

Proposed resolution

- We need to find a solution where Storybook can load the Components independently from Drupal.

Feature request
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

🇬🇷Greece TheodorosPloumis Greece

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

Comments & Activities

Production build 0.71.5 2024