vue 去掉路由中的#

在router.js中修改,

const router = new VueRouter({

mode: 'history',

routes: [...]

})

原文地址:https://www.cnblogs.com/cina33blogs/p/8366217.html