Created by: sagirk
Reduce the two-step install process to just one (per the latest storybook docs)
Change (i) npm install -g @storybook/cli
and (ii) sb init
to npx -p @storybook/cli sb init
Old commands | New command |
---|---|
(i) npm install -g @storybook/cli
|
npx -p @storybook/cli sb init |
(ii) sb init
|