构建后的build 文件 点击index.html 直接访问提示路径报错
dengying918 opened this issue · comments
邓赢 commented
ClarkXia commented
参考 https://v3.ice.work/docs/guide/basic/config/#publicpath
window 下可以试试将 publicPath 设置成 ./,如果最终是要部署到服务器的,需要配置成部署的服务器地址
邓赢 commented
路由设置为 hash 这样静态页面访问就没问题了