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

请问能否下一个版本官方支持导航守卫 #5

Open
lrnman opened this issue Apr 23, 2018 · 1 comment
Open

请问能否下一个版本官方支持导航守卫 #5

lrnman opened this issue Apr 23, 2018 · 1 comment

Comments

@lrnman
Copy link

lrnman commented Apr 23, 2018

我根据你的源码做了一个支持beforeEach、beforeEnter的。
这是代码
我代码效率、规范以及对vue-router的from\to不是兼容的。
所以请问能否下一个版本官方支持导航守卫?

@F-loat
Copy link
Owner

F-loat commented Apr 23, 2018

这部分在考虑要不要直接 fork vue-router 后修改,所以一直没做,我后面先试一下哪种方式更好点

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

2 participants