vue去掉链接中的#

在router.js中修改,

const router = new VueRouter({

mode: 'history',

routes: [...]

})

原文地址:https://www.cnblogs.com/chenziyu/p/9604732.html