摘要: vue2.0-路由配置 参考:https://router.vuejs.org/zh/guide/#html 使用vue-cli创建的项目,先不需要安装路由模块。 1.安装 cnpm install vue-router --save 以下步骤配置文件均在mains.js文件上配置 2、引入rout 阅读全文
posted @ 2019-01-22 14:34 wang_wei123 阅读(449) 评论(0) 推荐(0) 编辑