webpack-dev-server设置了port:8081,但是无法访问
1048034876 opened this issue · comments
devServer: {
port: 8081,
contentBase: path.join(__dirname, './dist')
}
设置了port,webpack-dev-server启动以后,也提示running at http://localhost:8081/,但是打开页面,是cannot get /
个人技术博客,博文写在 Issues 里。
1048034876 opened this issue · comments
devServer: {
port: 8081,
contentBase: path.join(__dirname, './dist')
}
设置了port,webpack-dev-server启动以后,也提示running at http://localhost:8081/,但是打开页面,是cannot get /