一.创建vue文件 View Code 二.在main.js配置路由 引入vue文件 三.在跳转button添加事件 跳转成功! 转载于:https://www.cnblogs.com/TigerZhang-home/p/8962076.html