vue去除地址栏上的'#'号

const router = new VueRouter({
  routes:[],
  mode :"history"//除去#号
}
原文地址:https://www.cnblogs.com/cloud-k/p/9186077.html