vue.js配置路由的方法:1、安装vue-router;2、引用vue-router;3、配置路由文件,如【var router = new VueRouter({routes:[{path:"hello",comp