Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schneidmaster/storybook-error-demo
Demo reproduction of Storybook error
https://github.com/schneidmaster/storybook-error-demo
Last synced: about 2 months ago
JSON representation
Demo reproduction of Storybook error
- Host: GitHub
- URL: https://github.com/schneidmaster/storybook-error-demo
- Owner: schneidmaster
- Created: 2019-12-07T17:21:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T02:31:21.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T00:15:04.039Z (9 months ago)
- Language: JavaScript
- Size: 3.49 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Storybook issue
The [CFS Stories with MDX Docs](https://github.com/storybookjs/storybook/blob/v5.2.8/addons/docs/docs/recipes.md#csf-stories-with-mdx-docs) example documents how to have adjacent `.stories.js`. and `.stories.mdx` files for the same component, but the example actually causes an error: `Duplicate title 'Demo/Button' used in multiple files; use unique titles or combine 'Demo/Button' stories into a single file.`.
## Setup
1. `git clone https://github.com/schneidmaster/storybook/error/demo`
2. `yarn install`
3. `yarn storybook`
4. Wait for storybook to start up, see error![Error](./error.png)