本地服务器运行正常,但是项目页面打开后显示Cannot GET / 或者 the server responded with a status of 404 (Not Found) 解决办法: config/index.js里面 dev: { assetsPublicPath: './', } 变成: dev: { assetsPublicPath: '/', } 就🆗了