-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Support other router-link
compatible components
#2627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@tmorehouse Interesting idea but I don't think we can solve this by simply adding a |
Although we would need to find a way to add props dynamically (if Gridsome adds any new ones). Currently the Gridsome docs only show 4 props for their It might be best to wait until Gridsome reaches a more stable/mature release before determining the best approach. The current use of |
router-link
compatible components
If you want to leverage the Gridsome linking features tho, you can quickly create a simple NavItem.vue component in the meantime, like this:
|
If gridsome exposed a |
Sounds like feature request time 😬. Would you do the honours or should I, @tmorehouse? I believe you could explain it better than me. |
…<g-link>` (closes #2627) (#5358) * feat(b-link): add support 3rd party router links such as Gridsome's `<g-link>` * Update link.js * Update router.js * Update link.js * Update router.js * Update link.js * Update link.spec.js * Update link.spec.js * Update link.spec.js * Update link.spec.js * Update router.js * Update router.js * Update link.spec.js * Update link.spec.js * Update common-props.json * Update link.js * Update link.js * Update common-props.json * Update README.md * Update README.md * Update avatar.js * Update common-props.json * Update README.md * Update README.md * Update README.md * Update common-props.json * Update package.json * Update common-props.json * Update package.json * Update README.md * Update avatar.js * Update README.md * Merge remote-tracking branch 'origin/dev' into blink-gridsome * Make sure to always omit `<b-link>`'s `event` prop for other components * Add `routerComponentName` to global config * Update pagination-nav.js * Update pagination-nav.js * Omit `routerTag` for all other components * Unify link detection in other components * Update common-props.json Co-authored-by: Jacob Müller <jacob.mueller.elz@gmail.com>
Gridsome has a
g-link
component, equivalent tonuxt-link
. As of now, BootstrapVue has built-in support fornuxt-link
; it would be nice to have support forg-link
as well.Rather than having to detect and support every Vue-based framework, maybe it would be reasonable to have the ability to configure BootstrapVue to use a specified
router-link
-compatible component. I apologize if this already exists and I missed it.Thank you!
The text was updated successfully, but these errors were encountered: