vue-router vue-router的简单实现,实现功能如下(hash模式) 路由页面跳转 嵌套路由 $router/$route实现 router-view/router-link组件实现 全局路由守卫(前置、后置) 后续有时间的话,再继续完善一下,喜欢的朋友,可以start下😯! Project setup npm install Compiles and hot-reloads for development npm run serve Compiles and minifies for production npm run build Lints and fixes files npm run lint Customize configuration See Configuration Reference.