We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
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] route和router有什么区别?
The text was updated successfully, but these errors were encountered:
route代表当前路由对象,router代表整个vue实例下的路由对象
Sorry, something went wrong.
router是new vueRouter的实例,route是当前路由的对象
rorute 它是一条路由, ,routes只是配置了一组路由, router 是一个机制 相当于管理者 ,用来管理路由 ,我是这么认为的 不知道对不对
route:代表当前路由信息对象,可以获取到当前路由的信息参数 router:代表路由实例的对象,包含了路由的跳转方法,钩子函数等
route:代表当前路由的对象,包含了一些基本信息。 router:代表路由实例对象,包含了路由跳转的一些方法。
No branches or pull requests
[vue] route和router有什么区别?
The text was updated successfully, but these errors were encountered: