[Bug]: setup ui
& setup i18n
commands still use old storybook folders
#11864
Labels
bug/needs-info
More information is needed for reproduction
What's not working?
Two issues here:
preview.tsx
is created asweb/config/storybook.preview.tsx
which used to be old storybook config before Redwood 8 – in this place it won't be picked up when runningyarn rw sb
. Needs to be created asweb/.storybook/preview.tsx
instead.When fixing issue no. 1 i'd also suggest to follow the recommendation from the chakra ui docs and create the theme file as
web/src/theme/index.js
instead – which will conveniently work around issue no. 2 as well 😃How do we reproduce the bug?
yarn create redwood-app my-redwood-project cd my-redwood-project yarn install yarn rw setup ui chakra-ui
Are you interested in working on this?
The text was updated successfully, but these errors were encountered: