vscode-story-explorer
vscode-story-explorer copied to clipboard
Configuration in a workspace
Hello,
I'm try to run story-explorer inside vscode.
But I get this error msg:
Error: No configuration files have been found in your configDir (/d/Projects/react-2023/app/.storybook).
Storybook needs "main.js" file, please add it (or pass a custom config dir flag to Storybook to tell where your main.js file is located at).
at validateConfigurationFiles (/d/Projects/react-2023/library/node_modules/@storybook/core-common/dist/index.js:9:30)
The first trouble I have is about the main
file . I use main.ts
.
The second one is I use a different config path:
/d/Projects/react-2023/library/config/storybook
but the error message above is using another project path while I am running 2 projects in a workspace.
How can I solve this ?