Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ui-storybook/sb-cli
https://github.com/ui-storybook/sb-cli
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ui-storybook/sb-cli
- Owner: ui-storybook
- License: mit
- Created: 2016-10-15T17:36:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-15T16:48:13.000Z (over 6 years ago)
- Last Synced: 2024-10-21T01:54:34.840Z (3 months ago)
- Language: JavaScript
- Size: 188 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome - sb-cli - (JavaScript)
README
# sb-cli
Easiest way to add [SB](https://github.com/ui-storybook/sb) to your project.
Install sb-cli globally.
```
npm i -g sb-cli
```Then go to your project and run:
```
sb-create
```That's all you've to do.
---
## Yarn support
sb-cli also supports yarn. If you are using yarn, this is how to use it:
```
yarn global add sb-cli
sb-create --use-yarn
````sb-create` will identify it's installed with yarn and it'll use yarn to install deps.
> This is the way, if you wanna use yarn for all of your storybook projects.
If that's not the case, you can do this:
```
npm i -g sb-cli
getstorybook --use-yarn```
For more information, refer [SB](https://github.com/ui-storybook/sb) documentation.