-
-
Notifications
You must be signed in to change notification settings - Fork 5k
feat: export RouterLink RouterView #3733
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
Conversation
✅ Deploy Preview for vue-router-docs-v3 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
4da01d5
to
f5d5e11
Compare
2dac0eb
to
df03030
Compare
@@ -0,0 +1,90 @@ | |||
import Vue, { AsyncComponent, ComponentOptions, PluginFunction } from 'vue' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you put this back where it was?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put it in a separate file because I want to unravel the circular dependency.
VueRouter depends on RouterView and RouterLink
RouterLink depends on NavigationFailure and Route
But VueRouter
and NavigationFailure
and Route
are defined intypes/router.d.ts
.
Should we allow circular dependency here?
@@ -1,4 +1,4 @@ | |||
import Vue, { ComponentOptions, PluginFunction, AsyncComponent } from 'vue' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you keep the original filename?
No description provided.