Storybook Vue 3 Router Decorator

JSON →
library 7.0.0 ·javascript
verified May 27, 2026

This package, `storybook-vue3-router`, provides a Storybook decorator specifically designed for Vue 3 components that utilize `vue-router`. It enables developers to wrap their routing-aware components within Storybook stories, allowing for proper testing and display of elements like `<router-view>` and `<router-link>`. The current stable version is 7.0.0, which supports Storybook v10. This library generally releases new major versions to align with new major versions of Storybook, ensuring compatibility. A key differentiator is its ability to easily provision a `vue-router` instance for stories, with options for custom routes, navigation guards, and even a mocked router for simpler use cases, streamlining the process of testing complex routing logic in isolation.

total hits 81
actors 11 distinct systems
last hit 20h ago human
ChatGPT-User
33
ByteDance
6
GPTBot
5
Amazonbot
4
MetaBot
4
Script
1
ClaudeBot
1
PerplexityBot
1
Humans
15

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · VN · 🇫🇷 France