Skip to content

Commit

Permalink
docs: clarify sb init usage
Browse files Browse the repository at this point in the history
  • Loading branch information
piperchester authored Apr 27, 2019
1 parent 32698cc commit 6b5d13f
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 6b5d13f

Please sign in to comment.