Skip to content

umi 相关

二级路径

https://juejin.cn/post/7410280735116476443

需要同时修改 publicPath 和 base

二级 path 只能有一级,/a/可以,/a/b/不行

nginx 参考:

location ^~ /screen {
  alias /Users/qins/webdist/dist;
  index index.html;
  try_files $uri $uri/ /screen/index.html;
}