Skip to content

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

Closed
wants to merge 1 commit into from
Closed

Conversation

xiaoxiangmoe
Copy link
Contributor

No description provided.

@netlify
Copy link

netlify bot commented Mar 2, 2022

Deploy Preview for vue-router-docs-v3 ready!

Name Link
🔨 Latest commit 06b4c7b
🔍 Latest deploy log https://app.netlify.com/sites/vue-router-docs-v3/deploys/624c2b0123fef100087ffb83
😎 Deploy Preview https://deploy-preview-3733--vue-router-docs-v3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@xiaoxiangmoe xiaoxiangmoe force-pushed the dev branch 2 times, most recently from 4da01d5 to f5d5e11 Compare March 2, 2022 12:17
@xiaoxiangmoe xiaoxiangmoe force-pushed the dev branch 6 times, most recently from 2dac0eb to df03030 Compare March 3, 2022 08:56
@xiaoxiangmoe xiaoxiangmoe marked this pull request as draft March 4, 2022 13:18
@xiaoxiangmoe xiaoxiangmoe marked this pull request as ready for review March 16, 2022 01:47
@xiaoxiangmoe xiaoxiangmoe marked this pull request as draft March 16, 2022 01:53
@xiaoxiangmoe xiaoxiangmoe marked this pull request as ready for review March 16, 2022 02:09
@@ -0,0 +1,90 @@
import Vue, { AsyncComponent, ComponentOptions, PluginFunction } from 'vue'
Copy link
Member

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?

Copy link
Contributor Author

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'
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants