-
-
Notifications
You must be signed in to change notification settings - Fork 5k
router-link integration with custom components #2021
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
If |
I assumed this was working and just tested now on a new project confirming it does not. If there is anyway we can help to push this forward, let us know. |
Yes, it should be. We wanted to make router link functional components for a while but never took the time to actually do it. So if you want to open a pr for 5yat,that would be great 😄 (since you have already coded it) |
is there any chance #1678 gets fixed? or any idea if it will ever be and when? |
The recommended approach is to use the v-slot api of router-link. Making router-link functional would be a breaking change and thus isn't possible |
Version
3.0.1
Reproduction link
http://jsfiddle.net/leopoldthecuber/forzLu80/38/
Steps to reproduce
Run the demo. In the demo I mainly did two things:
my-button
, it has a propcontent
and a named sloticon
router-link
with its tag set tomy-button
What is expected?
Props and named slots can be passed to custom component.
What is actually happening?
Props and named slots don't work
The text was updated successfully, but these errors were encountered: