vue-cli 本地运行http://localhost:8080报404错误
查看config/index.js里面的文件,dev: {assetsPublicPath: '/',host: 'localhost',port: 8080,}确保dev下面这三项正确,就可以正确运行http://localhost:8080
·
查看config/index.js里面的文件,
dev: {
assetsPublicPath: '/',
host: 'localhost',
port: 8080,
}
确保dev下面这三项正确,就可以正确运行http://localhost:8080
更多推荐
已为社区贡献7条内容
所有评论(0)