vue-router history模式 build问题
发布于 7 年前 作者 wocaatm 10038 次浏览 来自 问答

看来vue-router官网使用vue-rotuer history 模式 build 之后 要在服务器端进行配置,求教到底该怎么配置。。

4 回复

可以参考

location / {
      root /www;
      try_files $uri $uri/ /index.html;
}

@townmi 这个是nginx 我的是Apache

回到顶部