https://github.com/gvaldambrini/storybook-router
A storybook decorator that allows you to use routing-aware components in your stories
https://github.com/gvaldambrini/storybook-router
react react-router storybook vue vue-router
Last synced: 10 days ago
JSON representation
A storybook decorator that allows you to use routing-aware components in your stories
- Host: GitHub
- URL: https://github.com/gvaldambrini/storybook-router
- Owner: gvaldambrini
- License: mit
- Created: 2017-04-25T08:21:40.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-28T14:27:30.000Z (almost 4 years ago)
- Last Synced: 2025-04-13T02:17:21.504Z (10 days ago)
- Topics: react, react-router, storybook, vue, vue-router
- Language: JavaScript
- Homepage:
- Size: 3.66 MB
- Stars: 258
- Watchers: 3
- Forks: 33
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# storybook-router
A [Storybook](https://storybook.js.org/) decorator that allows you to use your routing-aware components. You can simply use the library _link_ component within your story or you can write a real prototype of your application using `StoryRouter` in conjunction with the [story links addon](https://github.com/storybooks/storybook/tree/master/addons/links).
The decorator currently supports [react-router](https://reacttraining.com/react-router/) v4 / v5 and [vue-router](https://router.vuejs.org/en/) v2 / v3.
For more information, please refer to the specific documentation for [using with react-router](https://github.com/gvaldambrini/storybook-router/tree/master/packages/react) or [using with vue-router](https://github.com/gvaldambrini/storybook-router/tree/master/packages/vue).