mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
fixed wrong start script in docs
This commit is contained in:
parent
7b2b4e0b36
commit
35b228f6a8
@ -98,7 +98,7 @@ First follow the instructions [here](https://github.com/ds300/react-native-types
|
||||
Now update your storybook `package.json` script to the following
|
||||
|
||||
"scripts": {
|
||||
"storybook": "storybook --metro-config $PWD/rn-cli.config.js"
|
||||
"storybook": "storybook start --metro-config $PWD/rn-cli.config.js -p 7007"
|
||||
}
|
||||
|
||||
The metro bundler requires an absolute path to the config. The above setup assumes the `rn-cli.config.js` is in the root of your project or next to your `package.json`
|
||||
|
Loading…
x
Reference in New Issue
Block a user