https://github.com/buildit/storybook-playground
Playground for storybook plugins etc.
https://github.com/buildit/storybook-playground
Last synced: about 2 months ago
JSON representation
Playground for storybook plugins etc.
- Host: GitHub
- URL: https://github.com/buildit/storybook-playground
- Owner: buildit
- Created: 2017-01-23T11:54:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-07T11:17:46.000Z (almost 8 years ago)
- Last Synced: 2025-01-20T09:39:36.130Z (3 months ago)
- Language: HTML
- Size: 2.99 MB
- Stars: 1
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Storybook Playground
Playground for storybook plugins etc.If you want to run the static builds and browse the versions then:
```
npm i
npm run example
```then open http://localhost:8000.
There is currently a basic config in the example folder. You can copy that into `.storybook` for local builds too. You will have to add a blabbr section if you want to use that plugin.
_Note:_ If you want to navigate to the dev version using the `local dev` you also need to run the local build. Just `npm start` for that in a separate terminal.
## Developing with Add-ons locally
As per the [Storybook Addons documentation](https://storybooks.js.org/docs/react-storybook/addons/writing-addons/#local-development), you can use locally developed addons with the playground by updating the `package.json` to reference the location in the file system e.g.
```
{
...
"dependencies": {
"@buildit/storybook-addon-blabbr": "file:///home/username/myrepo",
}
...
}
```