修改webpack.dev.conf里的compilationSuccessInfo
messages: [
`App run at: `,
`Local: http://localhost:${port}`,
`Network: http://${require('ip').address()}:${port}`,
],
修改config index
host: '0.0.0.0',
修改webpack.dev.conf里的compilationSuccessInfo
messages: [
`App run at: `,
`Local: http://localhost:${port}`,
`Network: http://${require('ip').address()}:${port}`,
],
修改config index
host: '0.0.0.0',