Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to work with Storybook.js #31

Open
abhi18av opened this issue Jul 16, 2019 · 0 comments
Open

Fails to work with Storybook.js #31

abhi18av opened this issue Jul 16, 2019 · 0 comments

Comments

@abhi18av
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant