1. 添加publicPath vue.config.js文件中添加 publicPath: “/S1E2” 配置 2. 添加base router/index.js文件中添加 base: “/S1E2” 配置 3. nginx配置 ① 将打完的包重名为S1E2 ② 将包放到/html/目录下 ③ 修改配置 ④ 使用ip:86/S1E2访问即可