Closed jessepinuelas closed 3 weeks ago
@utarwyn any advice?
Hello @jessepinuelas, sorry for the response delay.
The script extracts branches only via one of the two providers mentioned in the README (Bitbucket PRs or GitHub PRs) otherwise it will take only the current branch. It looks like you can't search for all the existing Git branches. Is this what you need? Or would you prefer to specify the branches in the configuration file?
@utarwyn When I run storybook locally after following the read me instructions no branch switcher appears in the storybook tool bar.
I think I might be missing a step or not understanding the usage correctly. When I run storybook locally after following the read me instructions no branch switcher appears in the storybook tool bar.
I have two branches master and beta on GitHub
Steps I followed while in beta branch
Installed addon via npm i --save-dev storybook-branch-switcher
Added storybook branch switcher to my main.js
Created .branches.json in .storybook directory
Ran sb-branch-switcher which successfully created storybook-bundle>beta
Ran npm run storybook locally and nothing appeared in the tool bar am I missing something here?