Skip to content

Fails to work with Storybook.js  #31

@abhi18av

Description

@abhi18av

Hi Team ant-design,

I tried using the storybook.js to develop the ant-design components for our app in isolation but it seems even after using config-overrides.js it doesn't work wrt javascriptEnabled options.

Steps to reproduce:

  git clone https://github.com/ant-design/create-react-app-antd.git
  cd create-react-app-antd/
  rm -rf package-lock.json 
  yarn 
  npx -p @storybook/cli sb init
  yarn storybook
 

The when we go to the indicated URL the CSS or JavaScript rendered CSS even in Storybook basic example doesn't work.

One a non-CRA project, it works fine
https://github.com/davidsonsns/storybook-antd

Please let me know how to resolve this config issue.

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