mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 19:11:08 +08:00
parent
60350cffe9
commit
8926e5765b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user