mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-06-16 18:39:21 +08:00
Don't ask to install webpack for using Styleguidist (#2656)
* Don't ask to install webpack for using Styleguidist * Update README.md
This commit is contained in:
committed by
William Monk
parent
853642676e
commit
a7efc39606
@@ -1470,10 +1470,10 @@ Learn more about React Storybook:
|
||||
|
||||
Styleguidist combines of a style guide, where all your components are presented on a single page with their props documentation and usage examples, with an environment for developing components in isolation, similar to Storybook. In Styleguidist you write examples in Markdown, where each code snippet is rendered as a live editable playground.
|
||||
|
||||
First install Styleguidist and peer dependencies from npm:
|
||||
First, install Styleguidist:
|
||||
|
||||
```sh
|
||||
npm install --save-dev react-styleguidist webpack
|
||||
npm install --save-dev react-styleguidist
|
||||
```
|
||||
|
||||
Then, add these scripts to your `package.json`:
|
||||
|
||||
Reference in New Issue
Block a user