去除vue-router 链接上的#号

在vue-cli 构建的项目中 打开文件router/index.js

加上:mode:"history"

 

posted @ 2018-03-07 15:57  霜~  阅读(1756)  评论(0编辑  收藏  举报