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

加上:mode:"history"

去除vue-router 链接上的#号

 

相关文章:

  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2021-06-09
  • 2021-11-03
相关资源
相似解决方案