首页/问答vue-router history模式 build问题问答Wwocaatm发布于9 年前最后回复9 年前|4 回复11154 浏览0 收藏看来vue-router官网使用vue-rotuer history 模式 build 之后 要在服务器端进行配置,求教到底该怎么配置。。 收藏话题 查看回复回复 (4)Ttownmi#1·9 年前可以参考 location / { root /www; try_files $uri $uri/ /index.html; } 赞 回复Wwocaatm#2·9 年前引用 townmi可以参考@townmi 这个是nginx 我的是Apache 赞 回复Ttownmi#3·9 年前引用 wocaatm@townmi 这个是nginx 我的是Apache@wocaatm http://router.vuejs.org/zh-cn/essentials/history-mode.html 赞 回复Wwocaatm#4·9 年前hahah 赞 回复参与回复登录后即可参与回复。登录