Skip to content
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

nuxt-link support for HdLink #649

Open
viniciuskneves opened this issue Jan 22, 2021 · 0 comments
Open

nuxt-link support for HdLink #649

viniciuskneves opened this issue Jan 22, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@viniciuskneves
Copy link
Contributor

Currently HdLink supports router-link and it would be interesting to have nuxt-link support as well.

Bootstrap Vue supports something similar and even custom ones if needed: https://github.com/bootstrap-vue/bootstrap-vue/blob/5bf6733595091cc204d3acc0641f8f0301bcbe9c/src/components/link/link.js#L66

I think we don't need something that fancy but that is how they select the tag to be used: https://github.com/bootstrap-vue/bootstrap-vue/blob/5bf6733595091cc204d3acc0641f8f0301bcbe9c/src/utils/router.js#L90-L105

We can adopt a similar strategy or make router-link/nuxt-link by default only and add others if needed in the future.

@viniciuskneves viniciuskneves added enhancement New feature or request good first issue Good for newcomers labels Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant