'How to change storybook's stories folder directory?
I use CRA(typescript) and add storybook using under cli code
$ npx create-react-app <project name> -template typescript
$ npx -p @storybook/cli sb init --type react_script
[As-Is Project Structure] enter image description here
[To-Be Project Structure(I want to change)] enter image description here
For this change, I amended .storybook/main.js code like this.
enter image description here
But, I failed to npm run storybook with under errors.
enter image description here
How to change (stories folder) in other place, not in src/stories????
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
