vue history
Nitfgg
这个作者很懒,什么都没留下…
展开
-
vue配置history路由(Nginx版)
location /h5 { try_files $uri $uri/ @router; index index.html index.htm; } location @router { rewrite ^.*$ /h5/index.html last; }原创 2021-10-27 11:28:44 · 250 阅读 · 0 评论 -
vue history模式 nginx配置
vue history模式 nginx配置 wap为history路径 location /wap { try_files $uri $uri/ @router; index index.html index.htm; } location @router { rewrite ^.*$ /wap/index.html last; }原创 2021-05-25 08:40:33 · 56 阅读 · 0 评论