vue中引入路由,如果你懒得写那么

可以npm i vue-router --save,项目中自动给你写好,vuex也可以

原文地址:https://www.cnblogs.com/sweeeper/p/11120517.html