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

请问在这个项目里vue-router起到一个什么作用? #8

Open
laodengjuntuan opened this issue Nov 1, 2020 · 1 comment
Open

Comments

@laodengjuntuan
Copy link

在切换图表时,只用CSS来切换,路由并不改变,都是/dashboard这个,
请问是否可以不用vue-router?

@SimonZhangITer
Copy link
Owner

可以的,多个路由指向这同一个页面,然后在页面内通过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