Merge pull request #9976 from davidinoa/next

Update index.md
This commit is contained in:
Michael Shilman 2020-02-28 08:40:22 +08:00 committed by GitHub
commit ccab92bc80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ cd my-project-directory
npx -p @storybook/cli sb init
```
The tool inspects your `package.json` to determine which view layer you're using. If you want to develop HTML snippets in storybook, we can't determine that automatically. So to install storybook for HTML, use the `--type` flag to force that the HTML project type:
The tool inspects your `package.json` to determine which view layer you're using. If you want to develop HTML snippets in storybook, we can't determine that automatically. So to install storybook for HTML, use the `--type` flag to force that the HTML project type is set:
```sh
npx -p @storybook/cli sb init --type html