Print the QR code on the console after running webpack-dev-server
npm install qrcode-webpack-plugin

webpack-dev-server运行时在控制台打印二维码
``bash`
$ npm install qrcode-webpack-plugin
JavaScript
const QRcodeWebpackPlugin = require('qrcode-webpack-plugin')module.exports = {
devServer: {
...
host: '0.0.0.0'
},
plugins: [
new QRcodeWebpackPlugin()
]
}
``