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

Add a option to ignore route change #1225

Open
zWingz opened this issue May 29, 2024 · 0 comments
Open

Add a option to ignore route change #1225

zWingz opened this issue May 29, 2024 · 0 comments

Comments

@zWingz
Copy link

zWingz commented May 29, 2024

Describe the bug or question
It is hoped to provide an option to ignore route listening

To Reproduce
I using the vue@2 and vue-router@3 to create a app. and use single-spa to load a other app.
But when I change the route by this.$router.push. It triggers the hook router.beforeEach twice.
So I want to ignore the route listening in single-spa

Expected behavior
A clear and concise description of what you expect or hope to happen.

Screenshots and/or console output
If applicable, add screenshots or console output to help explain your problem.

Additional context
image

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

No branches or pull requests

1 participant