Skip to content

Commit

Permalink
docs: clarify sb init usage (storybookjs#6667)
Browse files Browse the repository at this point in the history
docs: clarify sb init usage
  • Loading branch information
shilman authored Apr 28, 2019
2 parents b95d370 + 6b5d13f commit 2727183
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/pages/guides/guide-react/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ title: 'Storybook for React'
## Automatic setup

You may have tried to use our quick start guide to setup your project for Storybook.
If it failed because it couldn't detect you're using react, you could try forcing it to use react:
If it failed because it couldn't detect you're using React, you could try forcing it to use React:

```sh
npx -p @storybook/cli sb init --type react
```

Note: be sure you have a `package.json` in your project or the above command will fail.

## Manual setup

If you want to set up Storybook manually for your React project, this is the guide for you.
Expand Down

0 comments on commit 2727183

Please sign in to comment.