Merge pull request #16182 from storybookjs/install-docs-improvements

Update install docs
This commit is contained in:
jonniebigodes 2021-09-28 20:14:28 +01:00 committed by GitHub
commit d11b386796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 28 additions and 29 deletions

View File

@ -24,8 +24,7 @@ You can also build a [static version](https://storybook.js.org/docs/react/workfl
Here are some featured storybooks that you can reference to see how Storybook works:
- [Demo of React Dates](http://airbnb.io/react-dates/) - [source](https://github.com/airbnb/react-dates)
- [Demo of React Native Web](https://necolas.github.io/react-native-web/docs/) - [source](https://github.com/necolas/react-native-web)
- [Demo of Storybook Design System](https://storybook.js.org/design-system) - [source](https://github.com/storybookjs/design-system)
## Create React App

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 KiB

After

Width:  |  Height:  |  Size: 771 KiB

View File

@ -69,10 +69,8 @@ There are some noteworthy items here:
- A second set of links for you to expand your Storybook knowledge and get involved with the ever growing Storybook community.
- A few example stories to get you started.
Now that you installed Storybook successfully, lets take a look at a story that was written for us.
<details>
<summary><h4>Troubleshooting</h4></summary>
<summary><h4 id="troubleshooting">Troubleshooting</h4></summary>
Below is a curated list to get you unblocked while adding Storybook to your project.
@ -100,3 +98,5 @@ Below is a curated list to get you unblocked while adding Storybook to your proj
If all else fails, try asking for [help](https://storybook.js.org/support)
</details>
Now that you installed Storybook successfully, lets take a look at a story that was written for us.

View File

@ -1,8 +1,8 @@
Use the Storybook CLI to install it in a single command. Run this inside your existing projects root directory:
Use the Storybook CLI to install it in a single command. Run this inside your _existing projects_ root directory:
```shell
# Add Storybook:
npx sb init
```
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.

View File

@ -1,4 +1,4 @@
Use the Storybook CLI to install it with a couple of commands. Run this inside your existing projects root directory:
Use the Storybook CLI to install it with a couple of commands. Run this inside your _existing projects_ root directory:
```shell
# Add Storybook:
@ -9,4 +9,4 @@ ember install @storybook/ember-cli-storybook
```
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.

View File

@ -1,8 +1,8 @@
Use the Storybook CLI to install it in a single command. Run this inside your existing projects root directory:
Use the Storybook CLI to install it in a single command. Run this inside your _existing projects_ root directory:
```shell
# Add Storybook:
npx sb init
```
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.

View File

@ -1,8 +1,8 @@
Use the Storybook CLI to install it in a single command. Run this inside your existing projects root directory:
Use the Storybook CLI to install it in a single command. Run this inside your _existing projects_ root directory:
```shell
# Add Storybook:
npx sb init
```
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.

View File

@ -1,8 +1,8 @@
Use the Storybook CLI to install it in a single command. Run this inside your existing projects root directory:
Use the Storybook CLI to install it in a single command. Run this inside your _existing projects_ root directory:
```shell
# Add Storybook:
npx sb init
```
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.

View File

@ -1,8 +1,8 @@
Use the Storybook CLI to install it in a single command. Run this inside your existing projects root directory:
Use the Storybook CLI to install it in a single command. Run this inside your _existing projects_ root directory:
```shell
# Add Storybook:
npx sb init
```
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.

View File

@ -1,8 +1,8 @@
Use the Storybook CLI to install it in a single command. Run this inside your existing projects root directory:
Use the Storybook CLI to install it in a single command. Run this inside your _existing projects_ root directory:
```shell
# Add Storybook:
npx sb init
```
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.

View File

@ -1,8 +1,8 @@
Use the Storybook CLI to install it in a single command. Run this inside your existing projects root directory:
Use the Storybook CLI to install it in a single command. Run this inside your _existing projects_ root directory:
```shell
# Add Storybook:
npx sb init
```
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.

View File

@ -1,8 +1,8 @@
Use the Storybook CLI to install it in a single command. Run this inside your existing projects root directory:
Use the Storybook CLI to install it in a single command. Run this inside your _existing projects_ root directory:
```shell
# Add Storybook:
npx sb init
```
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.

View File

@ -1,8 +1,8 @@
Use the Storybook CLI to install it in a single command. Run this inside your existing projects root directory:
Use the Storybook CLI to install it in a single command. Run this inside your _existing projects_ root directory:
```shell
# Add Storybook:
npx sb init
```
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.

View File

@ -1,8 +1,8 @@
Use the Storybook CLI to install it in a single command. Run this inside your existing projects root directory:
Use the Storybook CLI to install it in a single command. Run this inside your _existing projects_ root directory:
```shell
# Add Storybook:
npx sb init
```
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.

View File

@ -1,8 +1,8 @@
Use the Storybook CLI to install it in a single command. Run this inside your existing projects root directory:
Use the Storybook CLI to install it in a single command. Run this inside your _existing projects_ root directory:
```shell
# Add Storybook:
npx sb init
```
If you run into issues with the installation, check the troubleshooting section below for guidance on how to solve it.
If you run into issues with the installation, check the [Troubleshooting section](#troubleshooting) below for guidance on how to solve it.