Vue Router Plugin System Solution #2523
l246804
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently while developing application-layer feature extensions for Vue Router, I discovered that the current framework lacks native plugin system support. Although functionality can be extended through Vue plugins, two critical issues exist:
Functionality extensions require deep dependency on Vue Router's core logic
When implemented via Vue plugins, developers must manually ensure plugin initialization occurs before any router-related functionality is accessed
To address this, I developed a dedicated routing plugin tool with the following characteristics:
Plugin architecture specifically designed for Vue Router (compatible with Vue's plugin system)
Automatically collects/releases reactive side effects within plugins (e.g., watch/watchEffect)
Learn more at vue-router-plugin-system
Beta Was this translation helpful? Give feedback.
All reactions