wingsuit-designsystem / wingsuit

Twig for Storybook
GNU General Public License v2.0
90 stars 16 forks source link

Docs not working #200

Closed woldtwerk closed 2 years ago

woldtwerk commented 2 years ago

Hi Christian, was just checking out the latest updates and found the docs not working. I cloned the repo and used the tailwind starter.

Describe the bug open Storybook in dev or build mode. You'll get an error in console and the story is not loading in the docs container. The story works fine in the canvas tab.

To Reproduce open Storybook in dev or build mode. open any story in docs tab.

Expected behavior story renders properly in docs tab

Screenshots image

image

Desktop (please complete the following information):

Additional context btw twigdrupal is invite only isn't it?

christianwiedemann commented 2 years ago

Hi, did you run npx @wingsuit-designsystem/cli init -k tailwind. It works for me hmm.

woldtwerk commented 2 years ago

no I cloned this repo. build the pattern-react package, because there was a dependency to it. And then went to tailwind starter-kit and tried both dev:storybook and the one which builds it in docs mode.

woldtwerk commented 2 years ago

I just created the tailwind starter via the cli. That worked fine. Not sure what went wrong when with the cloning approach.

christianwiedemann commented 2 years ago

Have you run yarn bootstrap in the root